Top Constructors Methods
org.jruby.ir.instructions

public Class BNEInstr

extends TwoOperandBranchInstr
implements FixedArityInstr
Class Inheritance
All Implemented Interfaces
org.jruby.ir.instructions.FixedArityInstr
Imports
org.jruby.ir.IRManager, .IRVisitor, .Operation, org.jruby.ir.operands.Boolean, .Label, .Operand, .UndefinedValue, org.jruby.ir.persistence.IRReaderDecoder, org.jruby.ir.transformations.inlining.CloneInfo, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

Constructor Summary

AccessConstructor and Description
pack-priv
BNEInstr(Label jumpTarget, Operand v1, Operand v2)

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
)

Implements abstract 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).

public static BranchInstr
create(Label jmpTarget, Operand v1, Operand v2)

public static BNEInstr
public int
public Instr
public void
Inherited from org.jruby.ir.instructions.TwoOperandBranchInstr:
encodegetArg1getArg2getJumpTargetgetOperandssetJumpTargetsetOperand

Constructor Detail

BNEInstrback to summary
pack-priv BNEInstr(Label jumpTarget, Operand v1, Operand v2)

Method Detail

cloneback to summary
public Instr clone(CloneInfo ii)

Implements abstract org.jruby.ir.instructions.Instr.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
createback to summary
public static BranchInstr create(Label jmpTarget, Operand v1, Operand v2)
decodeback to summary
public static BNEInstr decode(IRReaderDecoder d)
interpretAndGetNewIPCback to summary
public int interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc)

Overrides org.jruby.ir.instructions.Instr.interpretAndGetNewIPC.

Annotations
@Override
simplifyInstrback to summary
public Instr simplifyInstr(IRManager manager)

Overrides org.jruby.ir.instructions.Instr.simplifyInstr.

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

Overrides org.jruby.ir.instructions.Instr.visit.

Annotations
@Override