ireturn

Operation
Return int from method

ireturn

Forms
ireturn = 172 (0xac)

Stack
..., value [empty]

Description
The returning method must have return type byte, short, char, or int. The value must be of type int. The value is popped from the operand stack of the current frame (§3.6) and pushed onto the operand stack of the frame of the invoker. Any other values on the operand stack of the current method are discarded. If the returning method is a synchronized method, the monitor acquired or re-entered on invocation of the method is released or exited (respectively) as if by execution of a monitorexit instruction.

The interpreter then returns control to the invoker of the method, reinstating the frame of the invoker.