public class AsString 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) |
static AsString |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
OperandType |
getOperandType() |
Operand |
getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap,
boolean force) |
Operand |
getSource() |
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
canCopyPropagate, getValue, hasKnownValue
public AsString(Operand source)
public OperandType getOperandType()
getOperandType
in class Operand
public java.lang.Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, java.lang.Object[] temp)
public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap, boolean force)
getSimplifiedOperand
in class Operand
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining
in class Operand
public void addUsedVariables(java.util.List<Variable> l)
Operand
addUsedVariables
in class Operand
public Operand getSource()
public void encode(IRWriterEncoder e)
public static AsString decode(IRReaderDecoder d)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 JRuby. All Rights Reserved.