Java Virtual Machine (Java Series)

prev next contents
freturn

return from method with float result

Jasmin Syntax

freturn Stack

Before

After
return-value n/a
...
Description

Pops a float 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 float.

Bytecode

Type

Description
u1 freturn opcode = 0xAE (174)
See Also

lreturn, ireturn, dreturn, areturn, return


prev next contents
Java Virtual Machine, by Jon Meyer and Troy Downing, O'Reilly Associates

Категории