Return int from method
Format
ireturn
Forms
ireturn = 121 (0x79)
Stack
…, value.word1, value.word2 → [empty]
Description
The value must be of type int. It is popped from the operand stack of the current frame ( Section 3.5, Frames) 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.
The virtual machine then reinstates the frame of the invoker and returns control to the invoker.
Notes
If a virtual machine does not support the int data type, the ireturn instruction will not be available.