public abstract class DefinedInstr extends Instr implements ResultInstr
Modifier and Type | Field and Description |
---|---|
protected Operand[] |
operands |
protected Variable |
result |
EMPTY_OPERANDS
Constructor and Description |
---|
DefinedInstr(Operation operation,
Variable result,
Operand[] operands) |
Modifier and Type | Method and Description |
---|---|
Operand[] |
getOperands() |
Variable |
getResult() |
void |
updateResult(Variable v) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl, visit
public Operand[] getOperands()
getOperands
in class Instr
public Variable getResult()
getResult
in interface ResultInstr
public void updateResult(Variable v)
updateResult
in interface ResultInstr
Copyright © 2001-2015 JRuby. All Rights Reserved.