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, getValue
public OperandType getOperandType()
getOperandType
in class Operand
public boolean hasKnownValue()
Operand
hasKnownValue
in class Operand
public 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 Operand
public void addUsedVariables(List<Variable> l)
Operand
addUsedVariables
in class Operand
Copyright © 2001-2015 JRuby. All Rights Reserved.