Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 678 Bytes

vi.c.4.8-instructions-that-take-a-method-as-an-argument.md

File metadata and controls

23 lines (18 loc) · 678 Bytes

VI.C.4.8 Instructions that take a method as an argument

These instructions reference a method, either in another class (first instruction format) or in the current class (second instruction format).

<instr> ::=
<instr_method> <callConv> <type> [ <typeSpec> :: ] <methodName> ( )
<instr_method> ::= Derived from opcode.def
call
| callvirt
| jmp
| ldftn
| ldvirtftn
| newobj

Examples:

call instance int32 C.D.E::X(class W, native int)
ldftn vararg char F(...)    // Global Function F