public class IREvalScript extends IRClosure
argDesc, closureId, endLabel, startLabel
booleanVariableIndex, fixnumVariableIndex, floatVariableIndex, fullInterpreterContext, interpreterContext, LOG, temporaryVariableIndex, threadPollInstrsCount
Constructor and Description |
---|
IREvalScript(IRManager manager,
IRScope lexicalParent,
String fileName,
int lineNumber,
StaticScope staticScope,
EvalType evalType) |
Modifier and Type | Method and Description |
---|---|
InterpreterContext |
allocateInterpreterContext(Callable<List<Instr>> instructions)
Make version specific to scope which needs it (e.g.
|
InterpreterContext |
allocateInterpreterContext(List<Instr> instructions)
Make version specific to scope which needs it (e.g.
|
List<IRClosure> |
getBeginBlocks() |
String |
getFileName() |
LocalVariable |
getNewFlipStateVariable() |
Label |
getNewLabel() |
IRScopeType |
getScopeType() |
boolean |
isFlipScope() |
boolean |
isModuleOrInstanceEval() |
boolean |
isScriptScope()
Is this an eval script or a regular file script?
|
void |
recordBeginBlock(IRClosure beginBlockClosure)
Record a begin block.
|
void |
setFileName(String fileName) |
cloneForInlining, cloneForInlining, convertToMethod, createTemporaryVariable, findExistingLocalVariable, getArgumentDescriptors, getBlockBody, getHandle, getLocalVariable, getNewLocalVariable, getNewTemporaryVariable, getNextClosureId, getSignature, isBeginEndBlock, isNestedClosuresSafeForMethodConversion, isTopLocalVariableScope, setArgumentDescriptors, setBeginEndBlock, setHandle, setName, setSource, toStringBody
addChildScope, addClosure, allocateNextPrefixedName, bindingHasEscaped, buildJVMExceptionTable, canReceiveNonlocalReturns, computeScopeFlags, computeScopeFlagsEarly, debugOutput, definesLocalVariable, depends, equals, getBooleanVariablesCount, getCFG, getClosures, getCurrentModuleVariable, getCurrentScopeVariable, getEndBlocks, getExecutedPasses, getFixnumVariablesCount, getFlags, getFloatVariablesCount, getFullInterpreterContext, getInterpreterContext, getLexicalParent, getLexicalScopes, getLineNumber, getLiveVariablesProblem, getLocalVariables, getLocalVariablesCount, getManager, getName, getNearestFlipVariableScope, getNearestMethod, getNearestModuleReferencingScopeDepth, getNearestTopLocalVariableScope, getNewInlineVariable, getNewLabel, getNewTemporaryVariableFor, getNewUnboxedVariable, getPrefixCountSize, getScopeId, getSelf, getStaticScope, getStoreLocalVarPlacementProblem, getTemporaryVariablesCount, getThreadPollInstrsCount, getTopLevelScope, getUnboxableOpsAnalysisProblem, getUsedLocalVariables, getUsedVariablesCount, getVarIndices, getYieldClosureVariable, hasBeenBuilt, hasExplicitCallProtocol, hashCode, hasLoops, inlineMethod, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isUnsafeScope, lookupExistingLVar, maybeUsingRefinements, needsBinding, needsFrame, parentMaybeUsingRefinements, prepareForCompilation, prepareFullBuild, putLiveVariablesProblem, putStoreLocalVarPlacementProblem, putUnboxableOpsAnalysisProblem, receivesKeywordArgs, removeClosure, resetState, resetTemporaryVariables, resetVariableCounter, reuseParentScope, setExplicitCallProtocolFlag, setHasLoopsFlag, setInterpreterContext, setIsMaybeUsingRefinements, setLabelIndices, setLocalVariables, setTemporaryVariableCount, setUpUseDefLocalVarMaps, toString, toStringInstrs, usesBackrefOrLastline, usesEval, usesLocalVariable, usesZSuper
public IREvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)
public InterpreterContext allocateInterpreterContext(List<Instr> instructions)
IRScope
allocateInterpreterContext
in class IRClosure
public InterpreterContext allocateInterpreterContext(Callable<List<Instr>> instructions)
IRScope
allocateInterpreterContext
in class IRClosure
public Label getNewLabel()
getNewLabel
in class IRClosure
public IRScopeType getScopeType()
getScopeType
in class IRClosure
public boolean isModuleOrInstanceEval()
public void recordBeginBlock(IRClosure beginBlockClosure)
IRScope
recordBeginBlock
in class IRScope
public List<IRClosure> getBeginBlocks()
getBeginBlocks
in class IRScope
public LocalVariable getNewFlipStateVariable()
getNewFlipStateVariable
in class IRClosure
public boolean isScriptScope()
IRScope
isScriptScope
in class IRScope
public boolean isFlipScope()
isFlipScope
in class IRClosure
public void setFileName(String fileName)
setFileName
in class IRScope
public String getFileName()
getFileName
in class IRScope
Copyright © 2001-2016 JRuby. All Rights Reserved.