if_acmpne : jump if two object references are not equal : index : visitJumpInsn()
aload_1 ; push the object reference in local variable 1 onto stack aload_2 ; push the object reference in local variable 2 onto stack if_acmpne Label ; if the two references on the stack differ, jump to Label return ; return if local variables 1 and 2 are the same object Label: ; execution continues here if local variables 1 and 2 refer to the different objects
Before | After |
value1 | ... |
value2 | ... |
... | ... |
Type | Description |
u1 | if_acmpne opcode = 0xA6 (166) |
s2 | branchoffset |