Modifier and Type | Field and Description |
---|---|
Variable |
IRLoop.loopResult |
Modifier and Type | Method and Description |
---|---|
protected Variable |
IRBuilder.buildDefinitionCheck(IRScope s,
ResultInstr definedInstr,
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(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 |
IRBuilder19.buildVersionSpecificAssignment(Node node,
IRScope s,
Variable v) |
void |
IRBuilder.buildVersionSpecificAssignment(Node node,
IRScope s,
Variable v) |
boolean |
IRScope.definesLocalVariable(Variable v) |
Variable |
IRScope.getNewInlineVariable(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 |
---|---|
Set<Variable> |
LiveVariablesProblem.getAllVars() |
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 |
ReceiveArgBase.result |
protected Variable |
MultipleAsgnBase.result |
protected Variable |
CallInstr.result |
Modifier and Type | Method and Description |
---|---|
Variable |
JumpIndirectInstr.getJumpTarget() |
Variable |
AliasInstr.getReceiver() |
Variable |
YieldInstr.getResult() |
Variable |
UndefMethodInstr.getResult() |
Variable |
ToAryInstr.getResult() |
Variable |
SetReturnAddressInstr.getResult() |
Variable |
SearchConstInstr.getResult() |
Variable |
RuntimeHelperCall.getResult() |
Variable |
ResultInstr.getResult() |
Variable |
RescueEQQInstr.getResult() |
Variable |
ReceiveSelfInstr.getResult() |
Variable |
ReceiveExceptionInstr.getResult() |
Variable |
ReceiveClosureInstr.getResult() |
Variable |
ReceiveArgBase.getResult() |
Variable |
ProcessModuleBodyInstr.getResult() |
Variable |
NotInstr.getResult() |
Variable |
MultipleAsgnBase.getResult() |
Variable |
MethodLookupInstr.getResult() |
Variable |
MatchInstr.getResult() |
Variable |
Match3Instr.getResult() |
Variable |
Match2Instr.getResult() |
Variable |
LoadLocalVarInstr.getResult() |
Variable |
LexicalSearchConstInstr.getResult() |
Variable |
InheritanceSearchConstInstr.getResult() |
Variable |
GetInstr.getResult() |
Variable |
GetClassVarContainerModuleInstr.getResult() |
Variable |
EQQInstr.getResult() |
Variable |
EnsureRubyArrayInstr.getResult() |
Variable |
DefineModuleInstr.getResult() |
Variable |
DefineMetaClassInstr.getResult() |
Variable |
DefineClassInstr.getResult() |
Variable |
CopyInstr.getResult() |
Variable |
ConstMissingInstr.getResult() |
Variable |
CallInstr.getResult() |
Variable |
BlockGivenInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
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 |
YieldInstr.updateResult(Variable v) |
void |
UndefMethodInstr.updateResult(Variable v) |
void |
ToAryInstr.updateResult(Variable v) |
void |
SetReturnAddressInstr.updateResult(Variable v) |
void |
SearchConstInstr.updateResult(Variable v) |
void |
RuntimeHelperCall.updateResult(Variable v) |
void |
ResultInstr.updateResult(Variable v) |
void |
RescueEQQInstr.updateResult(Variable v) |
void |
ReceiveSelfInstr.updateResult(Variable v) |
void |
ReceiveExceptionInstr.updateResult(Variable v) |
void |
ReceiveClosureInstr.updateResult(Variable v) |
void |
ReceiveArgBase.updateResult(Variable v) |
void |
ProcessModuleBodyInstr.updateResult(Variable v) |
void |
NotInstr.updateResult(Variable v) |
void |
MultipleAsgnBase.updateResult(Variable v) |
void |
MethodLookupInstr.updateResult(Variable v) |
void |
MatchInstr.updateResult(Variable v) |
void |
Match3Instr.updateResult(Variable v) |
void |
Match2Instr.updateResult(Variable v) |
void |
LoadLocalVarInstr.updateResult(Variable v) |
void |
LexicalSearchConstInstr.updateResult(Variable v) |
void |
InheritanceSearchConstInstr.updateResult(Variable v) |
void |
GetInstr.updateResult(Variable v) |
void |
GetClassVarContainerModuleInstr.updateResult(Variable v) |
void |
EQQInstr.updateResult(Variable v) |
void |
EnsureRubyArrayInstr.updateResult(Variable v) |
void |
DefineModuleInstr.updateResult(Variable v) |
void |
DefineMetaClassInstr.updateResult(Variable v) |
void |
DefineClassInstr.updateResult(Variable v) |
void |
CopyInstr.updateResult(Variable v) |
void |
ConstMissingInstr.updateResult(Variable v) |
void |
CallInstr.updateResult(Variable v) |
void |
BlockGivenInstr.updateResult(Variable v) |
Modifier and Type | Field and Description |
---|---|
protected Variable |
DefinedInstr.result |
Modifier and Type | Method and Description |
---|---|
Variable |
GetErrorInfoInstr.getResult() |
Variable |
GetBackrefInstr.getResult() |
Variable |
DefinedInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
GetErrorInfoInstr.updateResult(Variable v) |
void |
GetBackrefInstr.updateResult(Variable v) |
void |
DefinedInstr.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 |
GetEncodingInstr.getResult() |
Variable |
BuildLambdaInstr.getResult() |
Modifier and Type | Method and Description |
---|---|
void |
GetEncodingInstr.updateResult(Variable v) |
void |
BuildLambdaInstr.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 |
---|---|
abstract Variable |
Variable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
TemporaryVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
TemporaryClosureVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
Self.cloneForCloningClosure(InlinerInfo ii) |
Variable |
LocalVariable.cloneForCloningClosure(InlinerInfo ii) |
Variable |
ClosureLocalVariable.cloneForCloningClosure(InlinerInfo ii) |
Modifier and Type | Method and Description |
---|---|
void |
WrappedIRClosure.addUsedVariables(List<Variable> l) |
void |
Variable.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
UndefinedValue.addUsedVariables(List<Variable> l) |
void |
SValue.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
StringLiteral.addUsedVariables(List<Variable> l) |
void |
StandardError.addUsedVariables(List<Variable> l) |
void |
Splat.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
ScopeModule.addUsedVariables(List<Variable> l) |
void |
Regexp.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
Reference.addUsedVariables(List<Variable> l) |
void |
Range.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
abstract void |
Operand.addUsedVariables(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 |
ObjectClass.addUsedVariables(List<Variable> l) |
void |
MethodHandle.addUsedVariables(List<Variable> l) |
void |
Label.addUsedVariables(List<Variable> l) |
void |
IRException.addUsedVariables(List<Variable> l) |
void |
ImmutableLiteral.addUsedVariables(List<Variable> l) |
void |
Hash.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
DynamicSymbol.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
CurrentScope.addUsedVariables(List<Variable> l) |
void |
CompoundString.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
CompoundArray.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
BacktickString.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
void |
Attribute.addUsedVariables(List<Variable> l) |
void |
AsString.addUsedVariables(List<Variable> l) |
void |
Array.addUsedVariables(List<Variable> l)
Append the list of variables used in this operand to the input list
|
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 © 2001-2015 JRuby. All Rights Reserved.