if_icmpeq : jump if two integers are equal : index : visitJumpInsn()
bipush 2 ; push the int 2 onto the stack
iload_1 ; push the int value in local variable 1 onto the stack
if_icmpeq Label ; if the value of local variable 1 equals 2, jump to Label
return ; return if not equal
Label:
; execution continues here if local variable 1 equals 2...
| Before | After |
| value1 | ... |
| value2 | ... |
| ... | ... |
| Type | Description |
| u1 | if_icmpeq opcode = 0x9F (159) |
| s2 | branchoffset |