diff options
author | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | 2000-01-06 00:56:56 +0000 |
---|---|---|
committer | Franz Sirl <Franz.Sirl-kernel@lauterbach.com> | 2000-01-06 00:56:56 +0000 |
commit | 8b264059a346b0a0b818c3558390a61ca2d76c21 (patch) | |
tree | 7c1181d619689bfa49c33db623fdaa633146a855 | |
parent | 499a0bff87cf83693fc309a7096676e258f1ef26 (diff) |
* rs6000.h: Missed this one in last checkin.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/newppc-branch@31254 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 816c62a98d0..30870086968 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1598,40 +1598,6 @@ typedef struct rs6000_args before returning. */ #define FUNCTION_EPILOGUE(FILE, SIZE) output_epilog (FILE, SIZE) - -/* A C compound statement that outputs the assembler code for a thunk function, - used to implement C++ virtual function calls with multiple inheritance. The - thunk acts as a wrapper around a virtual function, adjusting the implicit - object parameter before handing control off to the real function. - - First, emit code to add the integer DELTA to the location that contains the - incoming first argument. Assume that this argument contains a pointer, and - is the one used to pass the `this' pointer in C++. This is the incoming - argument *before* the function prologue, e.g. `%o0' on a sparc. The - addition must preserve the values of all other incoming arguments. - - After the addition, emit code to jump to FUNCTION, which is a - `FUNCTION_DECL'. This is a direct pure jump, not a call, and does not touch - the return address. Hence returning from FUNCTION will return to whoever - called the current `thunk'. - - The effect must be as if FUNCTION had been called directly with the adjusted - first argument. This macro is responsible for emitting all of the code for - a thunk function; `FUNCTION_PROLOGUE' and `FUNCTION_EPILOGUE' are not - invoked. - - The THUNK_FNDECL is redundant. (DELTA and FUNCTION have already been - extracted from it.) It might possibly be useful on some targets, but - probably not. - - If you do not define this macro, the target-independent code in the C++ - frontend will generate a less efficient heavyweight thunk that calls - FUNCTION instead of jumping to it. The generic approach does not support - varargs. */ -#if TARGET_ELF -#define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \ - output_mi_thunk (FILE, THUNK_FNDECL, DELTA, FUNCTION) -#endif /* TRAMPOLINE_TEMPLATE deleted */ |