public class Filename extends Operand
EMPTY_ARRAY| Constructor and Description |
|---|
Filename() |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
Operand |
cloneForInlining(CloneInfo ii) |
static Filename |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
OperandType |
getOperandType() |
boolean |
hasKnownValue()
Do we know the value of this operand at compile-time?
If we do then it may be possible to constant propagate (one case:
We also know it is also an ImmutableLiteral).
|
Object |
retrieve(ThreadContext context,
IRubyObject self,
StaticScope currScope,
DynamicScope currDynScope,
Object[] temp) |
void |
visit(IRVisitor visitor) |
canCopyPropagate, getSimplifiedOperand, getValuepublic OperandType getOperandType()
getOperandType in class Operandpublic boolean hasKnownValue()
OperandhasKnownValue in class Operandpublic void encode(IRWriterEncoder e)
public static Filename decode(IRReaderDecoder d)
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)
public Operand cloneForInlining(CloneInfo ii)
cloneForInlining in class Operandpublic void addUsedVariables(List<Variable> l)
OperandaddUsedVariables in class OperandCopyright © 2001-2016 JRuby. All Rights Reserved.