Skip to content

Commit afdae18

Browse files
committed
Fix bug in getStoreLocalVarPlacementProblem
* Eliminates duplicate run of AddLocalVarLoadStoreInstr pass on the same scope.
1 parent 7baf227 commit afdae18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/jruby/ir/IRScope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ public void putStoreLocalVarPlacementProblem(StoreLocalVarPlacementProblem probl
419419
public StoreLocalVarPlacementProblem getStoreLocalVarPlacementProblem() {
420420
if (fullInterpreterContext == null) return null; // no fic so no pass-related info
421421

422-
return (StoreLocalVarPlacementProblem) fullInterpreterContext.getDataFlowProblems().get(UnboxableOpsAnalysisProblem.NAME);
422+
return (StoreLocalVarPlacementProblem) fullInterpreterContext.getDataFlowProblems().get(StoreLocalVarPlacementProblem.NAME);
423423
}
424424

425425
public void putUnboxableOpsAnalysisProblem(UnboxableOpsAnalysisProblem problem) {

0 commit comments

Comments
 (0)