dreturn :
return from method with double result : index : visitInsn()
- Description
- dreturn pops the two-word double off 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 double.
- See also
- areturn lreturn freturn ireturn return invokevirtual invokespecial invokestatic invokeinterface
- Stack
Before
|
After |
return-value-word1 |
n/a |
return-value-word2 |
... |
... |
... |
- Bytecode
Type
|
Description |
u1
|
dreturn
opcode = 0xAF (175)
|