public abstract class BranchInstr extends Instr
EMPTY_OPERANDS| Constructor and Description |
|---|
BranchInstr(Operation op,
Operand v1,
Operand v2,
Label jumpTarget) |
| Modifier and Type | Method and Description |
|---|---|
Operand |
getArg1() |
Operand |
getArg2() |
Label |
getJumpTarget() |
Operand[] |
getOperands() |
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, visitpublic Operand[] getOperands()
getOperands in class Instrpublic Operand getArg1()
public Operand getArg2()
public Label getJumpTarget()
public void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
InstrsimplifyOperands in class InstrCopyright © 2001–2024 JRuby. All rights reserved.