public class IREvalScript extends IRClosure
closureId, endLabel, startLabelargDesc, 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, toStringBodyaddChildScope, 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, usesZSuperpublic IREvalScript(IRManager manager, IRScope lexicalParent, String fileName, int lineNumber, StaticScope staticScope, EvalType evalType)
public InterpreterContext allocateInterpreterContext(List<Instr> instructions)
IRScopeallocateInterpreterContext in class IRClosurepublic Label getNewLabel()
getNewLabel in class IRClosurepublic IRScopeType getScopeType()
getScopeType in class IRClosurepublic boolean isModuleOrInstanceEval()
public void recordBeginBlock(IRClosure beginBlockClosure)
IRScoperecordBeginBlock in class IRScopepublic List<IRClosure> getBeginBlocks()
getBeginBlocks in class IRScopepublic LocalVariable getNewFlipStateVariable()
getNewFlipStateVariable in class IRClosurepublic boolean isScriptScope()
IRScopeisScriptScope in class IRScopepublic boolean isFlipScope()
isFlipScope in class IRClosureCopyright © 2001-2015 JRuby. All Rights Reserved.