org.jruby.compiler.ir.instructions
Class StoreToBindingInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.Instr
      extended by org.jruby.compiler.ir.instructions.OneOperandInstr
          extended by org.jruby.compiler.ir.instructions.StoreToBindingInstr

public class StoreToBindingInstr
extends OneOperandInstr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.Instr
operation, result
 
Constructor Summary
StoreToBindingInstr(IRExecutionScope scope, java.lang.String slotName, Operand value)
           
 
Method Summary
 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,
 java.lang.String getSlotName()
           
 Label interpret(InterpreterContext interp, IRubyObject self)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.instructions.OneOperandInstr
getArg, getOperands, simplifyOperands
 
Methods inherited from class org.jruby.compiler.ir.instructions.Instr
getOperation, getResult, getUsedVariables, hasSideEffects, isDead, markDead, simplifyAndGetResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreToBindingInstr

public StoreToBindingInstr(IRExecutionScope scope,
                           java.lang.String slotName,
                           Operand value)
Method Detail

getSlotName

public java.lang.String getSlotName()

toString

public java.lang.String toString()
Overrides:
toString in class OneOperandInstr

cloneForInlining

public Instr cloneForInlining(InlinerInfo ii)
Description copied from class: Instr
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,

Specified by:
cloneForInlining in class Instr

canRaiseException

public boolean canRaiseException()
Overrides:
canRaiseException in class Instr

interpret

public Label interpret(InterpreterContext interp,
                       IRubyObject self)
Overrides:
interpret in class Instr


Copyright © 2002-2009 JRuby Team. All Rights Reserved.