public class MixedModeIRBlockBody extends IRBlockBody implements Compilable<CompiledIRBlockBody>
Modifier and Type | Field and Description |
---|---|
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
closure, evalType, fileName, lineNumber
scope
EMPTY_PARAMETER_LIST, NULL_BODY, signature
Constructor and Description |
---|
MixedModeIRBlockBody(IRClosure closure,
Signature signature) |
Modifier and Type | Method and Description |
---|---|
protected IRubyObject |
commonYieldPath(ThreadContext context,
IRubyObject[] args,
IRubyObject self,
Binding binding,
Block.Type type,
Block block) |
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) |
call, call, call, call, call, call, doYield, doYield, doYieldLambda, getFile, getLine, getScope, useBindingSelf, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
getStaticScope, post, pre, setStaticScope
arity, call, call, call, call, getSignature, isGiven, prepareArgumentsForCall, yield, yield, yield, yield
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFile, getLine
protected boolean pushScope
protected boolean reuseParentScope
public void setEvalType(EvalType evalType)
setEvalType
in class IRBlockBody
public 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 BlockBody
public 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 commonYieldPath(ThreadContext context, IRubyObject[] args, IRubyObject self, Binding binding, Block.Type type, Block block)
commonYieldPath
in class IRBlockBody
protected void promoteToFullBuild(ThreadContext context)
public RubyModule getImplementationClass()
getImplementationClass
in interface Compilable<CompiledIRBlockBody>
Copyright © 2001-2015 JRuby. All Rights Reserved.