public class Symbol extends Reference
EMPTY_ARRAY
Constructor and Description |
---|
Symbol(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCopyPropagate()
Can we replace every use of a variable 'v' that contains the value of this operand
with the operand itself? This takes importance when there are at least two uses
of 'v' within this scope.
|
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
addUsedVariables, cloneForInlining, getName
fetchCompileTimeArrayElement, getSimplifiedOperand, getValue, hasKnownValue
public boolean canCopyPropagate()
Operand
canCopyPropagate
in class Operand
public java.lang.Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, java.lang.Object[] temp)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.