Skip to content

Commit 2227456

Browse files
authored
Merge pull request #817 from t1mlange/develop
Fix interproc constant folding with side-effects
2 parents 3a45a5d + 4d0cf6f commit 2227456

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

soot-infoflow/src/soot/jimple/infoflow/codeOptimization/InterproceduralConstantValuePropagator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,6 @@ private void propagateReturnValueIntoCallers(SootMethod sm) {
483483
ConstantPropagatorAndFolder.v().transform(caller.getActiveBody());
484484
checkAndAddMethod(caller);
485485
}
486-
caller.getActiveBody().getUnits().remove(assignConst);
487486

488487
Stmt inv = Jimple.v().newInvokeStmt(assign.getInvokeExpr());
489488
caller.getActiveBody().getUnits().swapWith(assign, inv);

0 commit comments

Comments
 (0)