Skip to content

Commit

Permalink
Fix bug in getStoreLocalVarPlacementProblem
Browse files Browse the repository at this point in the history
* Eliminates duplicate run of AddLocalVarLoadStoreInstr pass on
  the same scope.
  • Loading branch information
subbuss committed Mar 6, 2015
1 parent 7baf227 commit afdae18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/IRScope.java
Expand Up @@ -419,7 +419,7 @@ public void putStoreLocalVarPlacementProblem(StoreLocalVarPlacementProblem probl
public StoreLocalVarPlacementProblem getStoreLocalVarPlacementProblem() {
if (fullInterpreterContext == null) return null; // no fic so no pass-related info

return (StoreLocalVarPlacementProblem) fullInterpreterContext.getDataFlowProblems().get(UnboxableOpsAnalysisProblem.NAME);
return (StoreLocalVarPlacementProblem) fullInterpreterContext.getDataFlowProblems().get(StoreLocalVarPlacementProblem.NAME);
}

public void putUnboxableOpsAnalysisProblem(UnboxableOpsAnalysisProblem problem) {
Expand Down

0 comments on commit afdae18

Please sign in to comment.