Top Fields Constructors Methods
org.jruby.ir.instructions

public Class EQQInstr

extends CallInstr
implements FixedArityInstr
Class Inheritance
All Implemented Interfaces
org.jruby.ir.instructions.FixedArityInstr
Imports
org.jruby.RubyInstanceConfig, .RubySymbol, org.jruby.ir.IRScope, .IRVisitor, .Operation, org.jruby.ir.operands.NullBlock, .Operand, .Variable, org.jruby.ir.persistence.IRReaderDecoder, .IRWriterEncoder, 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 boolean
private final boolean
Inherited from org.jruby.ir.instructions.CallInstr:
result

Constructor Summary

AccessConstructor and Description
protected
EQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean pattern, boolean isPotentiallyRefined, CallSite callSite, long callSiteID)

public
EQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean pattern, boolean isPotentiallyRefined)

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 static EQQInstr
public void
public Object
public boolean
public boolean
public String[]
public void
Inherited from org.jruby.ir.instructions.CallInstr:
creategetResultupdateResult

Field Detail

patternback to summary
private final boolean pattern
splattedValueback to summary
private final boolean splattedValue

Constructor Detail

EQQInstrback to summary
protected EQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean pattern, boolean isPotentiallyRefined, CallSite callSite, long callSiteID)
EQQInstrback to summary
public EQQInstr(IRScope scope, Variable result, Operand v1, Operand v2, boolean splattedValue, boolean pattern, boolean isPotentiallyRefined)

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
decodeback to summary
public static EQQInstr decode(IRReaderDecoder d)

Hides org.jruby.ir.instructions.CallInstr.decode.

encodeback to summary
public void encode(IRWriterEncoder e)

Overrides org.jruby.ir.instructions.CallInstr.encode.

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

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

Annotations
@Override
isPatternback to summary
public boolean isPattern()
isSplattedValueback to summary
public boolean isSplattedValue()
toStringNonOperandArgsback to summary
public String[] toStringNonOperandArgs()

Overrides org.jruby.ir.instructions.CallBase.toStringNonOperandArgs.

Annotations
@Override
visitback to summary
public void visit(IRVisitor visitor)

Overrides org.jruby.ir.instructions.CallInstr.visit.

Annotations
@Override