Skip to content

Commit eed14f7

Browse files
committed
Grr...failed to commit with merge for some reason.
1 parent c26c3f1 commit eed14f7

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

core/src/main/java/org/jruby/runtime/ThreadContext.java

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -888,28 +888,15 @@ public void preNodeEval(IRubyObject self) {
888888
public void postNodeEval() {
889889
popFrame();
890890
}
891-
<<<<<<< HEAD
892-
893-
// XXX: Again, screwy evaling under previous frame's scope
891+
894892
public void preExecuteUnder(IRubyObject executeUnderObj, RubyModule executeUnderClass, Block block) {
895893
Frame frame = getCurrentFrame();
896894

897-
=======
898-
899-
public void preExecuteUnder(IRubyObject self, RubyModule executeUnderClass, Block block) {
900-
Frame frame = getCurrentFrame();
901-
902-
pushRubyClass(executeUnderClass);
903-
>>>>>>> origin/jruby-1_7
904895
DynamicScope scope = getCurrentScope();
905896
StaticScope sScope = runtime.getStaticScopeFactory().newBlockScope(scope.getStaticScope());
906897
sScope.setModule(executeUnderClass);
907898
pushScope(DynamicScope.newDynamicScope(sScope, scope));
908-
<<<<<<< HEAD
909899
pushCallFrame(frame.getKlazz(), frame.getName(), executeUnderObj, block);
910-
=======
911-
pushCallFrame(frame.getKlazz(), frame.getName(), self, block);
912-
>>>>>>> origin/jruby-1_7
913900
getCurrentFrame().setVisibility(getPreviousFrame().getVisibility());
914901
}
915902

0 commit comments

Comments
 (0)