public class TemporaryVariable extends Variable
Modifier and Type | Field and Description |
---|---|
int |
offset |
BLOCK, CURRENT_MODULE, CURRENT_SCOPE
EMPTY_ARRAY
Constructor and Description |
---|
TemporaryVariable(int offset) |
TemporaryVariable(java.lang.String name,
int offset) |
Modifier and Type | Method and Description |
---|---|
Variable |
cloneForCloningClosure(InlinerInfo ii) |
int |
compareTo(java.lang.Object other) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
protected java.lang.String |
getPrefix() |
int |
hashCode() |
java.lang.Object |
retrieve(ThreadContext context,
IRubyObject self,
DynamicScope currDynScope,
java.lang.Object[] temp) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isImplicitBlockArg
fetchCompileTimeArrayElement, hasKnownValue
public TemporaryVariable(int offset)
public TemporaryVariable(java.lang.String name, int offset)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object other)
protected java.lang.String getPrefix()
public java.lang.String toString()
toString
in class java.lang.Object
public Variable cloneForCloningClosure(InlinerInfo ii)
cloneForCloningClosure
in class Variable
public java.lang.Object retrieve(ThreadContext context, IRubyObject self, DynamicScope currDynScope, java.lang.Object[] temp)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.