public class DefineInstanceMethodInstr extends OneOperandInstr
Constructor and Description |
---|
DefineInstanceMethodInstr(Operand container,
IRMethod method) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
simplifyOperands(java.util.Map<Operand,Operand> valueMap)
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.
|
java.lang.String |
toString() |
getArg, getOperands
canRaiseException, getOperation, getResult, getUsedVariables, hasSideEffects, isDead, markDead, simplifyAndGetResult
public java.lang.String toString()
toString
in class OneOperandInstr
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
public void simplifyOperands(java.util.Map<Operand,Operand> valueMap)
Instr
simplifyOperands
in class OneOperandInstr
public Label interpret(InterpreterContext interp, IRubyObject self)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.