public abstract class PutInstr extends Instr
Modifier and Type | Field and Description |
---|---|
protected Operand[] |
operands |
protected String |
ref |
int |
TARGET |
int |
VALUE |
EMPTY_OPERANDS
Constructor and Description |
---|
PutInstr(Operation op,
Operand target,
String ref,
Operand value) |
Modifier and Type | Method and Description |
---|---|
Operand[] |
getOperands() |
String |
getRef() |
Operand |
getTarget() |
Operand |
getValue() |
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() |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl, visit
public final int VALUE
public final int TARGET
protected Operand[] operands
protected String ref
public Operand[] getOperands()
getOperands
in class Instr
public String getRef()
public Operand getTarget()
public Operand getValue()
public void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
Instr
simplifyOperands
in class Instr
Copyright © 2001-2014 JRuby. All Rights Reserved.