Skip to content

Commit 8be54a4

Browse files
committed
Small refactorization
1 parent f82528c commit 8be54a4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

soot-infoflow/src/soot/jimple/infoflow/problems/InfoflowProblem.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,10 +719,9 @@ private Set<Abstraction> computeTargetsInternal(Abstraction source, Abstraction
719719
}
720720
}
721721
}
722-
SootMethod methodsOfCallsite;
723722
Iterator<Abstraction> rit = res.iterator();
724723
if (rit.hasNext()) {
725-
methodsOfCallsite = interproceduralCFG().getMethodOf(callSite);
724+
SootMethod methodOfCallsite = interproceduralCFG().getMethodOf(callSite);
726725

727726
while (rit.hasNext()) {
728727
final Abstraction abs = rit.next();
@@ -734,7 +733,7 @@ private Set<Abstraction> computeTargetsInternal(Abstraction source, Abstraction
734733
|| aliasing.getAliasingStrategy().requiresAnalysisOnReturn()) {
735734
for (Abstraction d1 : callerD1s) {
736735

737-
aliasing.computeAliases(d1, iCallStmt, null, res, methodsOfCallsite, abs);
736+
aliasing.computeAliases(d1, iCallStmt, null, res, methodOfCallsite, abs);
738737
}
739738
}
740739

0 commit comments

Comments
 (0)