public class MixedModeIRBlockBody extends IRBlockBody implements Compilable<CompiledIRBlockBody>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
closure, fileName, lineNumberscopeNULL_BODY, signature, testBlockBody| Constructor and Description |
|---|
MixedModeIRBlockBody(IRClosure closure,
Signature signature) |
| Modifier and Type | Method and Description |
|---|---|
protected IRubyObject |
callDirect(ThreadContext context,
Block block,
IRubyObject[] args,
Block blockArg) |
boolean |
canCallDirect() |
protected IRubyObject |
commonYieldPath(ThreadContext context,
Block block,
Block.Type type,
IRubyObject[] args,
IRubyObject self,
Block blockArg) |
void |
completeBuild(CompiledIRBlockBody blockBody) |
InterpreterContext |
ensureInstrsReady() |
ArgumentDescriptor[] |
getArgumentDescriptors() |
RubyModule |
getImplementationClass() |
IRScope |
getIRScope() |
BlockBody |
getJittedBody() |
java.lang.String |
getName() |
void |
setCallCount(int callCount) |
protected IRubyObject |
yieldDirect(ThreadContext context,
Block block,
IRubyObject[] args,
IRubyObject self) |
call, call, call, call, call, call, doYield, doYield, doYieldLambda, getFile, getLine, getScope, toAry, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecificgetStaticScope, post, pre, setStaticScopearity, call, call, call, call, getSignature, getTestBlockBody, isGiven, prepareArgumentsForCall, testBlockBody, yield, yield, yield, yieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassName, getFile, getLine, getOwnerName, resolveFullNameprotected boolean pushScope
protected boolean reuseParentScope
public boolean canCallDirect()
canCallDirect in class IRBlockBodypublic void setCallCount(int callCount)
setCallCount in interface Compilable<CompiledIRBlockBody>public void completeBuild(CompiledIRBlockBody blockBody)
completeBuild in interface Compilable<CompiledIRBlockBody>public IRScope getIRScope()
getIRScope in interface Compilable<CompiledIRBlockBody>public BlockBody getJittedBody()
public ArgumentDescriptor[] getArgumentDescriptors()
getArgumentDescriptors in class BlockBodypublic InterpreterContext ensureInstrsReady()
ensureInstrsReady in interface Compilable<CompiledIRBlockBody>public java.lang.String getName()
getName in interface Compilable<CompiledIRBlockBody>protected IRubyObject callDirect(ThreadContext context, Block block, IRubyObject[] args, Block blockArg)
callDirect in class BlockBodyprotected IRubyObject yieldDirect(ThreadContext context, Block block, IRubyObject[] args, IRubyObject self)
yieldDirect in class BlockBodyprotected IRubyObject commonYieldPath(ThreadContext context, Block block, Block.Type type, IRubyObject[] args, IRubyObject self, Block blockArg)
commonYieldPath in class IRBlockBodypublic RubyModule getImplementationClass()
getImplementationClass in interface Compilable<CompiledIRBlockBody>Copyright © 2001-2020 JRuby. All Rights Reserved.