public class TemporaryClosureVariable extends TemporaryLocalVariable
offset, PREFIX
EMPTY_ARRAY
Constructor and Description |
---|
TemporaryClosureVariable(int closureId,
int offset) |
Modifier and Type | Method and Description |
---|---|
Variable |
clone(SimpleCloneInfo ii) |
static TemporaryClosureVariable |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
int |
getClosureId() |
java.lang.String |
getPrefix() |
TemporaryVariableType |
getType()
Differentiates between different types of TemporaryVariables (useful for switch and persistence).
|
getId, getOffset, retrieve, visit
compareTo, equals, getOperandType, hashCode, toString
addUsedVariables, canCopyPropagate, cloneForInlining, getSimplifiedOperand, getValue, isSelf
hasKnownValue
public TemporaryClosureVariable(int closureId, int offset)
public int getClosureId()
public TemporaryVariableType getType()
TemporaryVariable
getType
in class TemporaryLocalVariable
public Variable clone(SimpleCloneInfo ii)
clone
in class TemporaryLocalVariable
public void encode(IRWriterEncoder e)
encode
in class TemporaryLocalVariable
public static TemporaryClosureVariable decode(IRReaderDecoder d)
public java.lang.String getPrefix()
getPrefix
in class TemporaryLocalVariable
Copyright © 2001-2018 JRuby. All Rights Reserved.