Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -82,10 +82,10 @@ public DispatchNode call() throws Exception {
newDispathNode = new UncachedDispatchNode(getContext(), ignoreVisibility, getDispatchAction(), missingBehavior);
} else {
depth++;
if (receiverObject instanceof DynamicObject) {
newDispathNode = doDynamicObject(frame, first, receiverObject, methodName, argumentsObjects);
} else if (RubyGuards.isForeignObject(receiverObject)) {
if (RubyGuards.isForeignObject(receiverObject)) {
newDispathNode = createForeign(argumentsObjects, first, methodName);
} else if (RubyGuards.isRubyBasicObject(receiverObject)) {
newDispathNode = doDynamicObject(frame, first, receiverObject, methodName, argumentsObjects);
} else {
newDispathNode = doUnboxedObject(frame, first, receiverObject, methodName);
}

0 comments on commit 47d19d5

Please sign in to comment.