org.jruby.compiler.ir.instructions
Class JRubyImplCallInstr

java.lang.Object
  extended by org.jruby.compiler.ir.instructions.Instr
      extended by org.jruby.compiler.ir.instructions.MultiOperandInstr
          extended by org.jruby.compiler.ir.instructions.CallInstr
              extended by org.jruby.compiler.ir.instructions.JRubyImplCallInstr

public class JRubyImplCallInstr
extends CallInstr


Field Summary
 
Fields inherited from class org.jruby.compiler.ir.instructions.CallInstr
_profile
 
Fields inherited from class org.jruby.compiler.ir.instructions.Instr
operation, result
 
Constructor Summary
JRubyImplCallInstr(Variable result, MethAddr methAddr, Operand receiver, Operand[] args)
           
JRubyImplCallInstr(Variable result, MethAddr methAddr, Operand receiver, Operand[] args, Operand closure)
           
 
Method Summary
 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)
           
 boolean isStaticCallTarget()
           
 
Methods inherited from class org.jruby.compiler.ir.instructions.CallInstr
canBeEval, canCaptureCallersBinding, canModifyCode, cloneCallArgs, getCallArgs, getClosureArg, getMethodAddr, getOperands, getReceiver, getTargetMethod, getTargetMethodWithReceiver, interpret_with_inline, isLVADataflowBarrier, isRubyInternalsCall, requiresBinding, setMethodAddr, simplifyOperands, toString
 
Methods inherited from class org.jruby.compiler.ir.instructions.MultiOperandInstr
cloneOperandsForInlining, prepareArguments
 
Methods inherited from class org.jruby.compiler.ir.instructions.Instr
canRaiseException, 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

JRubyImplCallInstr

public JRubyImplCallInstr(Variable result,
                          MethAddr methAddr,
                          Operand receiver,
                          Operand[] args)

JRubyImplCallInstr

public JRubyImplCallInstr(Variable result,
                          MethAddr methAddr,
                          Operand receiver,
                          Operand[] args,
                          Operand closure)
Method Detail

isStaticCallTarget

public boolean isStaticCallTarget()
Overrides:
isStaticCallTarget in class CallInstr

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,

Overrides:
cloneForInlining in class CallInstr

interpret

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


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