public class IREvalScript extends IRClosure
closureId, endLabel, startLabel
argDesc, 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(List<Instr> instructions)
Make version specific to scope which needs it (e.g.
|
List<IRClosure> |
getBeginBlocks() |
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.
|
cloneForInlining, cloneForInlining, createTemporaryVariable, findExistingLocalVariable, getBlockBody, getHandle, getLocalVariable, getNewLocalVariable, getNewTemporaryVariable, getNextClosureId, getSignature, isBeginEndBlock, isTopLocalVariableScope, setBeginEndBlock, setHandle, setName, toStringBody
addChildScope, addClosure, allocateNextPrefixedName, bindingHasEscaped, buildJVMExceptionTable, canReceiveNonlocalReturns, computeScopeFlags, computeScopeFlagsEarly, debugOutput, definesLocalVariable, depends, equals, getArgumentDescriptors, getBooleanVariablesCount, getCFG, getClosures, getCurrentModuleVariable, getCurrentScopeVariable, getEndBlocks, getExecutedPasses, getFileName, 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, getUsedVariablesCount, getVarIndices, getYieldClosureVariable, hasBeenBuilt, hasExplicitCallProtocol, hashCode, hasLoops, inlineMethod, isModuleBody, isNestedInClosure, isNonSingletonClassBody, isUnsafeScope, lookupExistingLVar, maybeUsingRefinements, parentMaybeUsingRefinements, prepareForInitialCompilation, prepareFullBuild, prepareFullBuildCommon, putLiveVariablesProblem, putStoreLocalVarPlacementProblem, putUnboxableOpsAnalysisProblem, receivesKeywordArgs, removeClosure, resetState, resetTemporaryVariables, resetVariableCounter, setArgumentDescriptors, 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 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
Copyright © 2001-2015 JRuby. All Rights Reserved.