if_acmpeq : jump if two object references are 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_acmpeq Label ; if the two references on the stack are identical, jump to Label return ; return if not equal Label: ; execution continues here if local variables 1 and 2 refer to the same object
Before | After |
value1 | ... |
value2 | ... |
... | ... |
Type | Description |
u1 | if_acmpeq opcode = 0xA5 (165) |
s2 | branchoffset |