PR middle-end/30667
[official-gcc.git] / libjava / sysdep / pa / descriptor-pa64-hpux.h
blobbc6af6b8701b2f90eb20b0c3aa3475b5e94955fa
1 // Given a function pointer, return the code address.
2 // If the plabel bit is set, mask it off and return the code from the
3 // first word of the function descriptor. Otherwise, the function
4 // pointer is the code address.
6 #define UNWRAP_FUNCTION_DESCRIPTOR(X) *(void **)((unsigned long) (X) + 16)