lreturn :
return from method with long result : index : visitInsn()
- Description
- Pops a two-word long integer from the top of the stack and
pushes it onto the operand stack of the invoker (i.e. the method which used
invokevirtual, invokespecial, invokestatic or
invokeinterface to call the currently executing method). All other
items on the current method's operand stack are discarded. If the current
method is marked as synchronized, then an implicit monitorexit instruction is
executed. Then the current method's frame is discarded, the invoker's frame is
reinstated, and control returns to the invoker. This instruction can only be
used in methods whose return type is long.
- See also
- ireturn freturn dreturn areturn return
- Stack
Before
|
After |
value-word1 |
n/a |
value-word2 |
... |
... |
... |
- Bytecode
Type
|
Description |
u1
|
lreturn
opcode = 0xAD (173)
|