Top Fields Constructors Methods
org.jruby.ir.instructions.specialized

public Class OneFixnumArgNoBlockCallInstr

extends CallInstr
Class Inheritance
Imports
org.jruby.RubySymbol, org.jruby.ir.IRScope, .Operation, org.jruby.ir.instructions.CallInstr, .Instr, org.jruby.ir.operands.Fixnum, .NullBlock, .Operand, .Variable, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.ir.transformations.inlining.CloneInfo, org.jruby.parser.StaticScope, org.jruby.runtime.CallSite, .CallType, .DynamicScope, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

Field Summary

Modifier and TypeField and Description
private final long
Inherited from org.jruby.ir.instructions.CallInstr:
result

Constructor Summary

AccessConstructor and Description
protected
OneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId)

public
OneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined)

Method Summary

Modifier and TypeMethod and Description
public Instr
clone(CloneInfo
This object manages renaming of variables and labels, handles args and return values.
ii
)

Overrides org.jruby.ir.instructions.CallInstr.clone.

Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope).

public long
public Object
Inherited from org.jruby.ir.instructions.CallInstr:
createdecodeencodegetResultupdateResultvisit

Field Detail

fixNumback to summary
private final long fixNum

Constructor Detail

OneFixnumArgNoBlockCallInstrback to summary
protected OneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId)
OneFixnumArgNoBlockCallInstrback to summary
public OneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined)

Method Detail

cloneback to summary
public Instr clone(CloneInfo ii)

Overrides org.jruby.ir.instructions.CallInstr.clone.

Doc from org.jruby.ir.instructions.Instr.clone.

Clone the instruction for use in an inlining context (either when a scope is inlined into another scope, or when a block has to be cloned because its associated call belongs to an inlined scope). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode.

Parameters
ii:CloneInfo

This object manages renaming of variables and labels, handles args and return values.

Returns:Instr

a new instruction that can be used in the target scope.

Annotations
@Override
getFixnumArgback to summary
public long getFixnumArg()
interpretback to summary
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp)

Overrides org.jruby.ir.instructions.CallBase.interpret.

Annotations
@Override