Skip to content

Commit bb6fb44

Browse files
committedMar 2, 2018
Use currScope instead of retrieving from DynamicScope.
1 parent 73a35b7 commit bb6fb44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎core/src/main/java/org/jruby/ir/instructions/RuntimeHelperCall.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ public IRubyObject callHelper(ThreadContext context, StaticScope currScope, Dyna
116116
case HANDLE_PROPAGATED_BREAK:
117117
return IRRuntimeHelpers.handlePropagatedBreak(context, currDynScope, arg1, blockType);
118118
case HANDLE_NONLOCAL_RETURN:
119-
return IRRuntimeHelpers.handleNonlocalReturn(scope, currDynScope, arg1, blockType);
119+
return IRRuntimeHelpers.handleNonlocalReturn(currScope, currDynScope, arg1, blockType);
120120
case HANDLE_BREAK_AND_RETURNS_IN_LAMBDA:
121-
return IRRuntimeHelpers.handleBreakAndReturnsInLambdas(context, scope, currDynScope, arg1, blockType);
121+
return IRRuntimeHelpers.handleBreakAndReturnsInLambdas(context, currScope, currDynScope, arg1, blockType);
122122
case IS_DEFINED_CALL:
123123
return IRRuntimeHelpers.isDefinedCall(
124124
context,

0 commit comments

Comments
 (0)
Please sign in to comment.