public class MixedModeIRBlockBody extends IRBlockBody implements Compilable<CompiledIRBlockBody>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
closure, evalType, fileName, lineNumberscopeEMPTY_PARAMETER_LIST, NULL_BODY, signature| 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() |
String |
getClassName(ThreadContext context) |
RubyModule |
getImplementationClass() |
IRScope |
getIRScope() |
BlockBody |
getJittedBody() |
String |
getName() |
protected void |
promoteToFullBuild(ThreadContext context) |
void |
setCallCount(int callCount) |
void |
setEvalType(EvalType evalType) |
protected IRubyObject |
yieldDirect(ThreadContext context,
Block block,
IRubyObject[] args,
IRubyObject self) |
call, call, call, call, call, call, doYield, doYield, doYieldLambda, getEvalType, getFile, getLine, getScope, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecificgetStaticScope, post, pre, setStaticScopearity, call, call, call, call, getSignature, isGiven, prepareArgumentsForCall, yield, yield, yield, yieldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFile, getLineprotected boolean pushScope
protected boolean reuseParentScope
public void setEvalType(EvalType evalType)
setEvalType in class IRBlockBodypublic 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 String getClassName(ThreadContext context)
getClassName in interface Compilable<CompiledIRBlockBody>public 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 IRBlockBodyprotected void promoteToFullBuild(ThreadContext context)
public RubyModule getImplementationClass()
getImplementationClass in interface Compilable<CompiledIRBlockBody>Copyright © 2001-2016 JRuby. All Rights Reserved.