Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -10,13 +10,15 @@
package org.jruby.truffle.nodes.supercall;

import com.oracle.truffle.api.Assumption;
import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
import com.oracle.truffle.api.dsl.Cached;
import com.oracle.truffle.api.dsl.NodeChild;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.object.DynamicObject;
import com.oracle.truffle.api.object.Shape;
import com.oracle.truffle.api.source.SourceSection;

import org.jruby.truffle.nodes.RubyGuards;
import org.jruby.truffle.nodes.RubyNode;
import org.jruby.truffle.nodes.objects.MetaClassNode;
@@ -97,6 +99,7 @@ protected DynamicObject metaClass(VirtualFrame frame, Object object) {
return metaClassNode.executeMetaClass(frame, object);
}

@TruffleBoundary
protected InternalMethod doLookup(InternalMethod currentMethod, DynamicObject selfMetaClass) {
assert RubyGuards.isRubyClass(selfMetaClass);
InternalMethod superMethod = ModuleOperations.lookupSuperMethod(currentMethod, selfMetaClass);

0 comments on commit a696822

Please sign in to comment.