public abstract class GetInstr extends Instr implements ResultInstr
EMPTY_OPERANDS| Constructor and Description |
|---|
GetInstr(Operation op,
Variable result,
Operand source,
String ref) |
| Modifier and Type | Method and Description |
|---|---|
Operand[] |
getOperands() |
String |
getRef() |
Variable |
getResult() |
Operand |
getSource() |
void |
simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
This method takes as input a map of operands to their values, and outputs
If the value map provides a value for any of the instruction's operands
this method is expected to replace the original operands with the simplified values.
|
String |
toString() |
void |
updateResult(Variable v) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl, visitpublic String getRef()
public Variable getResult()
getResult in interface ResultInstrpublic void updateResult(Variable v)
updateResult in interface ResultInstrpublic Operand[] getOperands()
getOperands in class Instrpublic Operand getSource()
public void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
InstrsimplifyOperands in class InstrCopyright © 2001-2014 JRuby. All Rights Reserved.