Package org.jruby.ir.targets.indy
Class YieldSite
java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
org.jruby.ir.targets.indy.YieldSite
Created by headius on 1/8/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intstatic final org.objectweb.asm.Handleprivate static final Loggerprivate static final MethodHandles.Lookupprivate static final intprivate final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallSitebootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int unwrap) yield(ThreadContext context, Block block, IRubyObject arg) yieldSpecific(ThreadContext context, Block block) yieldValues(ThreadContext context, Block block, IRubyObject[] args) Methods inherited from class java.lang.invoke.MutableCallSite
dynamicInvoker, getTarget, setTarget, syncAll
-
Field Details
-
LOOKUP
-
unwrap
private final boolean unwrap -
bindCount
private int bindCount -
MAX_REBIND
private static final int MAX_REBIND- See Also:
-
LOG
-
BOOTSTRAP
public static final org.objectweb.asm.Handle BOOTSTRAP
-
-
Constructor Details
-
YieldSite
-
-
Method Details
-
bootstrap
public static CallSite bootstrap(MethodHandles.Lookup lookup, String name, MethodType type, int unwrap) throws Throwable - Throws:
Throwable
-
yield
- Throws:
Throwable
-
yieldSpecific
- Throws:
Throwable
-
yieldValues
-