adapt to core changes

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3233 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
dolby-oss 2009-02-19 16:33:03 +00:00
parent 7118bd6573
commit d54d7867c1
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ public class CommandInterpreter implements SSAContextInterpreter {
return false;
}
public ControlFlowGraph<ISSABasicBlock> getCFG(CGNode N) {
public ControlFlowGraph<SSAInstruction, ISSABasicBlock> getCFG(CGNode N) {
return getIR(N).getControlFlowGraph();
}
/**

View File

@ -64,7 +64,7 @@ public class J2EEAnalysisScope extends AnalysisScope {
*/
public J2EEAnalysisScope(String baseScope, ClassLoader loader, File exclusionsFile, boolean lifecycleEntrypoints) throws IOException {
super(Collections.singleton(Language.JAVA));
AnalysisScope base = AnalysisScopeReader.read(baseScope, exclusionsFile, loader);
AnalysisScope base = AnalysisScopeReader.readJavaScope(baseScope, exclusionsFile, loader);
for (ClassLoaderReference cl : base.getLoaders()) {
for (Module m : base.getModules(cl)) {