org.jruby.compiler.ir.instructions
Class RubyInternalCallInstr
java.lang.Object
org.jruby.compiler.ir.instructions.Instr
org.jruby.compiler.ir.instructions.MultiOperandInstr
org.jruby.compiler.ir.instructions.CallInstr
org.jruby.compiler.ir.instructions.RubyInternalCallInstr
public class RubyInternalCallInstr
- extends CallInstr
Methods inherited from class org.jruby.compiler.ir.instructions.CallInstr |
canBeEval, canCaptureCallersBinding, canModifyCode, cloneCallArgs, getCallArgs, getClosureArg, getMethodAddr, getOperands, getReceiver, getTargetMethod, interpret_with_inline, isLVADataflowBarrier, requiresBinding, setMethodAddr, simplifyOperands, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RubyInternalCallInstr
public RubyInternalCallInstr(Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args)
RubyInternalCallInstr
public RubyInternalCallInstr(Variable result,
MethAddr methAddr,
Operand receiver,
Operand[] args,
Operand closure)
isRubyInternalsCall
public boolean isRubyInternalsCall()
- Overrides:
isRubyInternalsCall
in class CallInstr
isStaticCallTarget
public boolean isStaticCallTarget()
- Overrides:
isStaticCallTarget
in class CallInstr
getTargetMethodWithReceiver
public IRMethod getTargetMethodWithReceiver(Operand receiver)
- Overrides:
getTargetMethodWithReceiver
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.