Top Fields Constructors Methods
org.jruby.ir.instructions

public Class PrepareFixedBlockArgsInstr

extends PrepareBlockArgsInstr
Class Inheritance
Imports
org.jruby.ir.IRVisitor, .Operation, org.jruby.ir.persistence.IRReaderDecoder, org.jruby.ir.transformations.inlining.CloneInfo, .SimpleCloneInfo

Field Summary

Modifier and TypeField and Description
public static final PrepareFixedBlockArgsInstr

Constructor Summary

AccessConstructor and Description
private

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.PrepareBlockArgsInstr.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 static PrepareFixedBlockArgsInstr
public void

Field Detail

INSTANCEback to summary
public static final PrepareFixedBlockArgsInstr INSTANCE

Hides org.jruby.ir.instructions.PrepareBlockArgsInstr.INSTANCE.

Constructor Detail

PrepareFixedBlockArgsInstrback to summary
private PrepareFixedBlockArgsInstr()

Method Detail

cloneback to summary
public Instr clone(CloneInfo ii)

Overrides org.jruby.ir.instructions.PrepareBlockArgsInstr.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
decodeback to summary
public static PrepareFixedBlockArgsInstr decode(IRReaderDecoder d)

Hides org.jruby.ir.instructions.PrepareBlockArgsInstr.decode.

visitback to summary
public void visit(IRVisitor visitor)

Overrides org.jruby.ir.instructions.PrepareBlockArgsInstr.visit.

Annotations
@Override