7.38 __mcall_offsetof_vbase(D, f)

Returns the negative offset from the value of the vtable pointer of the vtable slot that holds the base offset (from the beginning of a D object to the start of the base that f is defined in).

Where D is a class type and f is a nonstatic member function defined in a virtual base class of D, in other words __mcall_is_in_vbase(D,f) returns {TRUE}.

The base offset is the this adjustment necessary when making a call to f with a pointer to a D.

Note

The offset returns a positive number that then has to be subtracted from the value of the vtable pointer.

Related concepts
7.35 Compiler-supported keywords for calling class member functions in embedded assembler
7.42 Calling a nonvirtual member function
7.43 Calling a virtual member function
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.