public class IREvalScript extends IRClosure
argDesc, closureId, endLabel, startLabelbooleanVariableIndex, 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() |
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, toStringBodyaddChildScope, 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, 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 IRClosurepublic void setFileName(String fileName)
setFileName in class IRScopepublic String getFileName()
getFileName in class IRScopeCopyright © 2001-2016 JRuby. All Rights Reserved.