public class InterpretedIRBlockBody extends IRBlockBody implements FullBuildSource
Modifier and Type | Field and Description |
---|---|
protected IRClosure |
closure |
protected boolean |
pushScope |
protected boolean |
reuseParentScope |
evalType, fileName, lineNumber, parameterList
scope, signature
argumentType, ARRAY, EMPTY_PARAMETER_LIST, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS
Constructor and Description |
---|
InterpretedIRBlockBody(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) |
InterpreterContext |
ensureInstrsReady() |
RubyModule |
getImplementationClass() |
IRScope |
getIRScope() |
String |
getName() |
protected void |
promoteToFullBuild(ThreadContext context) |
void |
setCallCount(int callCount) |
void |
switchToFullBuild(InterpreterContext interpreterContext) |
call, call, call, call, call, call, doYield, doYield, getFile, getLine, getParameterList, prepareArgumentsForCall, setEvalType, setParameterList, useBindingSelf, yieldSpecific, yieldSpecific, yieldSpecific, yieldSpecific
arity, getSignature, getStaticScope, post, pre, setStaticScope
asArgumentType, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, isGiven, yield, yield, yield, yield
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFile, getLine
protected final IRClosure closure
protected boolean pushScope
protected boolean reuseParentScope
public void setCallCount(int callCount)
setCallCount
in interface FullBuildSource
public void switchToFullBuild(InterpreterContext interpreterContext)
switchToFullBuild
in interface FullBuildSource
public IRScope getIRScope()
getIRScope
in interface FullBuildSource
public InterpreterContext ensureInstrsReady()
ensureInstrsReady
in interface FullBuildSource
public String getName()
getName
in interface FullBuildSource
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 FullBuildSource
Copyright © 2001-2015 JRuby. All Rights Reserved.