Modifier and Type | Field and Description |
---|---|
Variable |
IRLoop.loopResult |
Modifier and Type | Method and Description |
---|---|
protected Variable |
IRBuilder.buildDefinitionCheck(IRScope s,
ResultInstr definedInstr,
java.lang.String definedReturnValue) |
protected Variable |
IRBuilder.buildDefnCheckIfThenPaths(IRScope s,
Label undefLabel,
Operand defVal) |
protected Variable |
IRBuilder.copyAndReturnValue(IRScope s,
Operand val) |
Variable |
IRScope.getCurrentModuleVariable() |
Variable |
IRScope.getCurrentScopeVariable() |
Variable |
IRScope.getNewInlineVariable(java.lang.String inlinePrefix,
Variable v) |
protected Variable |
IRBuilder.getSelf(IRScope s) |
protected Variable |
IRBuilder.getValueInTemporaryVariable(IRScope s,
Operand val) |
Modifier and Type | Method and Description |
---|---|
void |
IRBuilder.buildAssignment(Node node,
IRScope s,
Variable rhsVal) |
void |
IRBuilder.buildVersionSpecificAssignment(Node node,
IRScope s,
Variable v) |
void |
IRBuilder19.buildVersionSpecificAssignment(Node node,
IRScope s,
Variable v) |
boolean |
IRScope.definesLocalVariable(Variable v) |
Variable |
IRScope.getNewInlineVariable(java.lang.String inlinePrefix,
Variable v) |
void |
IRScope.initFlipStateVariable(Variable v,
Operand initState) |
protected void |
IRBuilder19.receiveArg(IRScope s,
Variable v,
Operand argsArray,
int argIndex,
boolean isSplat) |
protected void |
IRBuilder.receiveBlockArg(IRScope s,
Variable v,
Operand argsArray,
int argIndex,
boolean isClosureArg,
boolean isSplat) |
boolean |
IRScope.usesLocalVariable(Variable v) |
Modifier and Type | Method and Description |
---|---|
Variable |
LiveVariablesProblem.getVariable(int id) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Variable> |
LiveVariablesProblem.getAllVars() |
java.util.List<Variable> |
LiveVariablesProblem.getVarsLiveOnScopeEntry()
Get variables that are live on entry to the cfg.
|
Modifier and Type | Method and Description |
---|---|
void |
LiveVariablesProblem.addDFVar(Variable v) |
boolean |
LiveVariablesProblem.dfVarExists(Variable v) |
DataFlowVar |
LiveVariablesProblem.getDFVar(Variable v) |
Modifier and Type | Field and Description |
---|---|
protected Variable |
CallInstr.result |
protected Variable |
MultipleAsgnBase.result |
protected Variable |
ReceiveArgBase.result |
Modifier and Type | Method and Description |
---|---|
Variable |
JumpIndirectInstr.getJumpTarget() |
Variable |
AliasInstr.getReceiver() |
Variable |
BlockGivenInstr.getResult() |
Variable |
CallInstr.getResult() |
Variable |
ConstMissingInstr.getResult() |
Variable |
CopyInstr.getResult() |
Variable |
DefineClassInstr.getResult() |
Variable |
DefineMetaClassInstr.getResult() |
Variable |
DefineModuleInstr.getResult() |
Variable |
EQQInstr.getResult() |
Variable |
EnsureRubyArrayInstr.getResult() |
Variable |
GetClassVarContainerModuleInstr.getResult() |
Variable |
GetInstr.getResult() |
Variable |
InheritanceSearchConstInstr.getResult() |
Variable |
LexicalSearchConstInstr.getResult() |
Variable |
LoadLocalVarInstr.getResult() |
Variable |
Match2Instr.getResult() |
Variable |
Match3Instr.getResult() |
Variable |
MatchInstr.getResult() |
Variable |
MethodLookupInstr.getResult() |
Variable |
MultipleAsgnBase.getResult() |
Variable |
NotInstr.getResult() |
Variable |
ProcessModuleBodyInstr.getResult() |
Variable |
ReceiveArgBase.getResult() |
Variable |
ReceiveClosureInstr.getResult() |
Variable |
ReceiveExceptionInstr.getResult() |
Variable |
ReceiveSelfInstr.getResult() |
Variable |
RescueEQQInstr.getResult() |
Variable |
ResultInstr.getResult() |
Variable |
RuntimeHelperCall.getResult() |
Variable |
SearchConstInstr.getResult() |
Variable |
SetReturnAddressInstr.getResult() |
Variable |
ToAryInstr.getResult() |
Variable |
UndefMethodInstr.getResult() |
Variable |
YieldInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Variable> |
Instr.getUsedVariables() |
Modifier and Type | Method and Description |
---|---|
static CallInstr |
CallInstr.create(CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
CallInstr.create(Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
void |
BlockGivenInstr.updateResult(Variable v) |
void |
CallInstr.updateResult(Variable v) |
void |
ConstMissingInstr.updateResult(Variable v) |
void |
CopyInstr.updateResult(Variable v) |
void |
DefineClassInstr.updateResult(Variable v) |
void |
DefineMetaClassInstr.updateResult(Variable v) |
void |
DefineModuleInstr.updateResult(Variable v) |
void |
EQQInstr.updateResult(Variable v) |
void |
EnsureRubyArrayInstr.updateResult(Variable v) |
void |
GetClassVarContainerModuleInstr.updateResult(Variable v) |
void |
GetInstr.updateResult(Variable v) |
void |
InheritanceSearchConstInstr.updateResult(Variable v) |
void |
LexicalSearchConstInstr.updateResult(Variable v) |
void |
LoadLocalVarInstr.updateResult(Variable v) |
void |
Match2Instr.updateResult(Variable v) |
void |
Match3Instr.updateResult(Variable v) |
void |
MatchInstr.updateResult(Variable v) |
void |
MethodLookupInstr.updateResult(Variable v) |
void |
MultipleAsgnBase.updateResult(Variable v) |
void |
NotInstr.updateResult(Variable v) |
void |
ProcessModuleBodyInstr.updateResult(Variable v) |
void |
ReceiveArgBase.updateResult(Variable v) |
void |
ReceiveClosureInstr.updateResult(Variable v) |
void |
ReceiveExceptionInstr.updateResult(Variable v) |
void |
ReceiveSelfInstr.updateResult(Variable v) |
void |
RescueEQQInstr.updateResult(Variable v) |
void |
ResultInstr.updateResult(Variable v) |
void |
RuntimeHelperCall.updateResult(Variable v) |
void |
SearchConstInstr.updateResult(Variable v) |
void |
SetReturnAddressInstr.updateResult(Variable v) |
void |
ToAryInstr.updateResult(Variable v) |
void |
UndefMethodInstr.updateResult(Variable v) |
void |
YieldInstr.updateResult(Variable v) |
Constructor and Description |
---|
AliasInstr(Variable receiver,
Operand newName,
Operand oldName) |
BlockGivenInstr(Variable result,
Operand block) |
CallInstr(CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
CallInstr(Operation op,
CallType callType,
Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure) |
ClassSuperInstr(Variable result,
Operand definingModule,
MethAddr superMeth,
Operand[] args,
Operand closure) |
ConstMissingInstr(Variable result,
Operand currentModule,
java.lang.String missingConst) |
CopyInstr(Variable result,
Operand s) |
DefineClassInstr(Variable result,
IRClassBody newIRClassBody,
Operand container,
Operand superClass) |
DefineMetaClassInstr(Variable result,
Operand object,
IRModuleBody metaClassBody) |
DefineModuleInstr(Variable result,
IRModuleBody newIRModuleBody,
Operand container) |
EnsureRubyArrayInstr(Variable result,
Operand s) |
EQQInstr(Variable result,
Operand v1,
Operand v2) |
GetClassVarContainerModuleInstr(Variable result,
Operand startingScope,
Operand object) |
GetClassVariableInstr(Variable dest,
Operand scope,
java.lang.String varName) |
GetFieldInstr(Variable dest,
Operand obj,
java.lang.String fieldName) |
GetGlobalVariableInstr(Variable dest,
java.lang.String gvarName) |
GetInstr(Operation op,
Variable result,
Operand source,
java.lang.String ref) |
InheritanceSearchConstInstr(Variable result,
Operand currentModule,
java.lang.String constName,
boolean noPrivateConsts) |
InstanceSuperInstr(Variable result,
Operand definingModule,
MethAddr superMeth,
Operand[] args,
Operand closure) |
JumpIndirectInstr(Variable target) |
LexicalSearchConstInstr(Variable result,
Operand definingScope,
java.lang.String constName) |
Match2Instr(Variable result,
Operand receiver,
Operand arg) |
Match3Instr(Variable result,
Operand receiver,
Operand arg) |
MatchInstr(Variable result,
Operand receiver) |
MethodLookupInstr(Variable result,
MethodHandle mh) |
MethodLookupInstr(Variable dest,
Operand methodName,
Operand receiver) |
MultipleAsgnBase(Operation op,
Variable result,
Operand array,
int index) |
NotInstr(Variable result,
Operand arg) |
OptArgMultipleAsgnInstr(Variable result,
Operand array,
int index,
int minArgsLength) |
ProcessModuleBodyInstr(Variable result,
Operand moduleBody) |
ReceiveArgBase(Operation op,
Variable result,
int argIndex) |
ReceiveClosureInstr(Variable result) |
ReceiveExceptionInstr(Variable result) |
ReceiveExceptionInstr(Variable result,
boolean checkType) |
ReceiveOptArgInstr(Variable result,
int numUsedArgs,
int argOffset,
int optArgIndex) |
ReceivePreReqdArgInstr(Variable result,
int argIndex) |
ReceiveRestArgInstr(Variable result,
int numUsedArgs,
int argIndex) |
ReceiveSelfInstr(Variable result) |
ReqdArgMultipleAsgnInstr(Variable result,
Operand array,
int index) |
ReqdArgMultipleAsgnInstr(Variable result,
Operand array,
int preArgsCount,
int postArgsCount,
int index) |
RescueEQQInstr(Variable result,
Operand v1,
Operand v2) |
RestArgMultipleAsgnInstr(Variable result,
Operand array,
int index) |
RestArgMultipleAsgnInstr(Variable result,
Operand array,
int preArgsCount,
int postArgsCount,
int index) |
RuntimeHelperCall(Variable result,
java.lang.String helperMethod,
Operand[] args) |
SearchConstInstr(Variable result,
java.lang.String constName,
Operand startingScope,
boolean noPrivateConsts) |
SetReturnAddressInstr(Variable result,
Label l) |
ToAryInstr(Variable result,
Operand array,
BooleanLiteral dontToAryArrays) |
UndefMethodInstr(Variable result,
Operand methodName) |
UnresolvedSuperInstr(Operation op,
Variable result,
Operand receiver,
Operand closure) |
UnresolvedSuperInstr(Variable result,
Operand receiver,
Operand[] args,
Operand closure) |
YieldInstr(Variable result,
Operand block,
Operand arg,
boolean unwrapArray) |
ZSuperInstr(Variable result,
Operand receiver,
Operand closure) |
Modifier and Type | Field and Description |
---|---|
protected Variable |
DefinedInstr.result |
Modifier and Type | Method and Description |
---|---|
Variable |
DefinedInstr.getResult() |
Variable |
GetBackrefInstr.getResult() |
Variable |
GetErrorInfoInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
DefinedInstr.updateResult(Variable v) |
void |
GetBackrefInstr.updateResult(Variable v) |
void |
GetErrorInfoInstr.updateResult(Variable v) |
Constructor and Description |
---|
BackrefIsMatchDataInstr(Variable result) |
ClassVarIsDefinedInstr(Variable result,
Operand module,
StringLiteral name) |
DefinedInstr(Operation operation,
Variable result,
Operand[] operands) |
DefinedObjectNameInstr(Operation operation,
Variable result,
Operand[] operands) |
GetBackrefInstr(Variable result) |
GetDefinedConstantOrMethodInstr(Variable result,
Operand object,
StringLiteral name) |
GetErrorInfoInstr(Variable result) |
GlobalIsDefinedInstr(Variable result,
StringLiteral name) |
HasInstanceVarInstr(Variable result,
Operand object,
StringLiteral name) |
IsMethodBoundInstr(Variable result,
Operand object,
StringLiteral name) |
MethodDefinedInstr(Variable result,
Operand object,
StringLiteral methodName) |
MethodIsPublicInstr(Variable result,
Operand object,
StringLiteral name) |
SuperMethodBoundInstr(Variable result,
Operand object) |
Modifier and Type | Method and Description |
---|---|
Variable |
BuildLambdaInstr.getResult() |
Variable |
GetEncodingInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
BuildLambdaInstr.updateResult(Variable v) |
void |
GetEncodingInstr.updateResult(Variable v) |
Constructor and Description |
---|
BuildLambdaInstr(Variable lambda,
IRClosure lambdaBody,
ISourcePosition position) |
GetEncodingInstr(Variable result,
org.jcodings.Encoding encoding) |
ReceivePostReqdArgInstr(Variable result,
int index,
int preReqdArgsCount,
int postReqdArgsCount) |
Constructor and Description |
---|
ReceiveKeywordArgInstr(Variable result,
int numUsedArgs) |
ReceiveKeywordRestArgInstr(Variable result,
int numUsedArgs) |
Modifier and Type | Class and Description |
---|---|
class |
ClosureLocalVariable
This represents a variable used in a closure that is
local to the closure and is not defined in any ancestor lexical scope
|
class |
LocalVariable |
class |
Self |
class |
TemporaryClosureVariable |
class |
TemporaryVariable
A set of variables which are only used in a particular scope and never
visible to Ruby itself.
|
Modifier and Type | Method and Description |
---|---|
Variable |
ClosureLocalVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
LocalVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
Self.cloneForCloningClosure(InlinerInfo ii) |
Variable |
TemporaryClosureVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
TemporaryVariable.cloneForCloningClosure(InlinerInfo ii) |
abstract Variable |
Variable.cloneForCloningClosure(InlinerInfo ii) |
Modifier and Type | Method and Description |
---|---|
void |
Array.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
AsString.addUsedVariables(java.util.List<Variable> l) |
void |
Attribute.addUsedVariables(java.util.List<Variable> l) |
void |
BacktickString.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
CompoundArray.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
CompoundString.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
CurrentScope.addUsedVariables(java.util.List<Variable> l) |
void |
DynamicSymbol.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
Hash.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
IRException.addUsedVariables(java.util.List<Variable> l) |
void |
ImmutableLiteral.addUsedVariables(java.util.List<Variable> l) |
void |
Label.addUsedVariables(java.util.List<Variable> l) |
void |
MethodHandle.addUsedVariables(java.util.List<Variable> l) |
void |
ObjectClass.addUsedVariables(java.util.List<Variable> l) |
abstract void |
Operand.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list -- force every operand
to implement this because a missing implementation can cause bad failures.
|
void |
Range.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
Reference.addUsedVariables(java.util.List<Variable> l) |
void |
Regexp.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
SValue.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
ScopeModule.addUsedVariables(java.util.List<Variable> l) |
void |
Splat.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
StandardError.addUsedVariables(java.util.List<Variable> l) |
void |
StringLiteral.addUsedVariables(java.util.List<Variable> l) |
void |
UndefinedValue.addUsedVariables(java.util.List<Variable> l) |
void |
Variable.addUsedVariables(java.util.List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
WrappedIRClosure.addUsedVariables(java.util.List<Variable> l) |
Modifier and Type | Method and Description |
---|---|
void |
JVMVisitor.emitVariable(Variable variable) |
int |
MethodData.local(Variable variable) |
Modifier and Type | Method and Description |
---|---|
Variable |
InlinerInfo.getCallResultVariable() |
Variable |
InlinerInfo.getRenamedVariable(Variable v) |
Variable |
InlinerInfo.getYieldResult() |
Modifier and Type | Method and Description |
---|---|
Variable |
InlinerInfo.getRenamedVariable(Variable v) |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.