2015-07-04 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libjava / sysdep / powerpc / descriptor.h
blob51296c22262386e6c34006449d45db610ab35222
1 // Given a function pointer, return the code address.
3 #ifdef _CALL_AIX
4 // The function descriptor is actually multiple words,
5 // but we don't care about anything except the first.
6 # define UNWRAP_FUNCTION_DESCRIPTOR(X) (*(void **)(X))
7 #else
8 # define UNWRAP_FUNCTION_DESCRIPTOR(X) (X)
9 #endif