Skip to content


Browse files Browse the repository at this point in the history
Workaround some issues in BEGIN/END moving to IC
  • Loading branch information
enebo committed Oct 22, 2014
1 parent e7d5b03 commit b533e58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/ir/interpreter/
Expand Up @@ -155,9 +155,9 @@ protected IRubyObject execute(Ruby runtime, IRScriptBody irScope, IRubyObject se

try {
Interpreter.runBeginEndBlocks(ic.getBeginBlocks(), context, self, scope, null);
Interpreter.runBeginEndBlocks(irScope.getBeginBlocks(), context, self, scope, null);
retVal = Interpreter.INTERPRET_ROOT(context, self, ic, currModule, name);
Interpreter.runBeginEndBlocks(ic.getEndBlocks(), context, self, scope, null);
Interpreter.runBeginEndBlocks(irScope.getEndBlocks(), context, self, scope, null);

} catch (IRBreakJump bj) {
Expand Down

0 comments on commit b533e58

Please sign in to comment.