public class org.jruby.ir.instructions.BNEInstr extends org.jruby.ir.instructions.TwoOperandBranchInstr implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.BNEInstr
super_class: org.jruby.ir.instructions.TwoOperandBranchInstr
{
public static org.jruby.ir.instructions.BranchInstr create(org.jruby.ir.operands.Label, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)Lorg/jruby/ir/instructions/BranchInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.jruby.ir.operands.Boolean
ifeq 4
1: aload 2
checkcast org.jruby.ir.operands.Boolean
invokevirtual org.jruby.ir.operands.Boolean.isFalse:()Z
ifeq 2
new org.jruby.ir.instructions.BTrueInstr
dup
aload 0
aload 1
invokespecial org.jruby.ir.instructions.BTrueInstr.<init>:(Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;)V
goto 3
StackMap locals:
StackMap stack:
2: new org.jruby.ir.instructions.BFalseInstr
dup
aload 0
aload 1
invokespecial org.jruby.ir.instructions.BFalseInstr.<init>:(Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;)V
StackMap locals:
StackMap stack: org.jruby.ir.instructions.OneOperandBranchInstr
3: areturn
4: StackMap locals:
StackMap stack:
new org.jruby.ir.instructions.BNEInstr
dup
aload 0
aload 1
aload 2
invokespecial org.jruby.ir.instructions.BNEInstr.<init>:(Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 jmpTarget Lorg/jruby/ir/operands/Label;
0 5 1 v1 Lorg/jruby/ir/operands/Operand;
0 5 2 v2 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
jmpTarget
v1
v2
public void <init>(org.jruby.ir.operands.Label, org.jruby.ir.operands.Operand, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.jruby.ir.Operation.BNE:Lorg/jruby/ir/Operation;
aload 1
aload 2
aload 3
invokespecial org.jruby.ir.instructions.TwoOperandBranchInstr.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/BNEInstr;
0 2 1 jumpTarget Lorg/jruby/ir/operands/Label;
0 2 2 v1 Lorg/jruby/ir/operands/Operand;
0 2 3 v2 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
jumpTarget
v1
v2
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.BNEInstr
dup
aload 1
aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getJumpTarget:()Lorg/jruby/ir/operands/Label;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedLabel:(Lorg/jruby/ir/operands/Label;)Lorg/jruby/ir/operands/Label;
aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg1:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg2:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.ir.operands.Operand.cloneForInlining:(Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.BNEInstr.<init>:(Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/BNEInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public static org.jruby.ir.instructions.BNEInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/BNEInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.BNEInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeLabel:()Lorg/jruby/ir/operands/Label;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeOperand:()Lorg/jruby/ir/operands/Operand;
invokespecial org.jruby.ir.instructions.BNEInstr.<init>:(Lorg/jruby/ir/operands/Label;Lorg/jruby/ir/operands/Operand;Lorg/jruby/ir/operands/Operand;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public int interpretAndGetNewIPC(org.jruby.runtime.ThreadContext, org.jruby.runtime.DynamicScope, org.jruby.parser.StaticScope, org.jruby.runtime.builtin.IRubyObject, java.lang.Object[], int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/DynamicScope;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/builtin/IRubyObject;[Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg1:()Lorg/jruby/ir/operands/Operand;
aload 1
aload 4
aload 3
aload 2
aload 5
invokevirtual org.jruby.ir.operands.Operand.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 1: aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg2:()Lorg/jruby/ir/operands/Operand;
aload 1
aload 4
aload 3
aload 2
aload 5
invokevirtual org.jruby.ir.operands.Operand.retrieve:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 2: aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg2:()Lorg/jruby/ir/operands/Operand;
aload 1
invokevirtual org.jruby.runtime.ThreadContext.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getIRManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getNil:()Lorg/jruby/ir/operands/Nil;
if_acmpeq 3
aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getArg2:()Lorg/jruby/ir/operands/Operand;
getstatic org.jruby.ir.operands.UndefinedValue.UNDEFINED:Lorg/jruby/ir/operands/UndefinedValue;
if_acmpne 5
3: StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 7
aload 8
if_acmpne 4
iconst_1
goto 6
StackMap locals:
StackMap stack:
4: iconst_0
goto 6
StackMap locals:
StackMap stack:
5: aload 7
checkcast org.jruby.runtime.builtin.IRubyObject
aload 1
aload 8
checkcast org.jruby.runtime.builtin.IRubyObject
invokeinterface org.jruby.runtime.builtin.IRubyObject.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
6: StackMap locals:
StackMap stack: int
istore 9
start local 9 7: iload 9
ifne 8
aload 0
invokevirtual org.jruby.ir.instructions.BNEInstr.getJumpTarget:()Lorg/jruby/ir/operands/Label;
invokevirtual org.jruby.ir.operands.Label.getTargetPC:()I
goto 9
StackMap locals: int
StackMap stack:
8: iload 6
StackMap locals:
StackMap stack: int
9: ireturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/ir/instructions/BNEInstr;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 currDynScope Lorg/jruby/runtime/DynamicScope;
0 10 3 currScope Lorg/jruby/parser/StaticScope;
0 10 4 self Lorg/jruby/runtime/builtin/IRubyObject;
0 10 5 temp [Ljava/lang/Object;
0 10 6 ipc I
1 10 7 value1 Ljava/lang/Object;
2 10 8 value2 Ljava/lang/Object;
7 10 9 eql Z
MethodParameters:
Name Flags
context
currDynScope
currScope
self
temp
ipc
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.BNEInstr:(Lorg/jruby/ir/instructions/BNEInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/BNEInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "BNEInstr.java"