public class IsTrueInstr extends OneOperandInstr
Constructor and Description |
---|
IsTrueInstr(Variable result,
Operand arg) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRaiseException() |
Instr |
cloneForInlining(InlinerInfo ii)
Clone the instruction for inlining -- this will rename all variables (including local variables and self!)
and replace RECV_ARG and RETURN instructions to regular copy instructions,
|
Label |
interpret(InterpreterContext interp,
IRubyObject self) |
Operand |
simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
This method takes as input a map of operands to their values, and outputs
the result of this instruction.
|
getArg, getOperands, simplifyOperands, toString
getOperation, getResult, getUsedVariables, hasSideEffects, isDead, markDead
public Operand simplifyAndGetResult(java.util.Map<Operand,Operand> valueMap)
Instr
simplifyAndGetResult
in class Instr
valueMap
- Mapping from operands to their simplified valuespublic Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
public boolean canRaiseException()
canRaiseException
in class Instr
public Label interpret(InterpreterContext interp, IRubyObject self)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.