public class Scope extends Operand
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Operand |
cloneForInlining(CloneInfo ii) |
OperandType |
getOperandType() |
IRScope |
getScope() |
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
void |
visit(IRVisitor visitor) |
canCopyPropagate, encode, getSimplifiedOperand, getValue, hasKnownValue, isFalseyImmediate, isTruthyImmediate
public Scope(IRScope scope)
public OperandType getOperandType()
getOperandType
in class Operand
public void addUsedVariables(java.util.List<Variable> l)
Operand
addUsedVariables
in class Operand
public IRScope getScope()
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining
in class Operand
public java.lang.Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, java.lang.Object[] temp)
Copyright © 2001-2020 JRuby. All Rights Reserved.