diff options
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index bb34d822157..1d61c165546 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -397,6 +397,14 @@ use_thunk (tree thunk_fndecl, bool emit_p) return; } + /* APPLE LOCAL begin coalescing */ + /* coalesce thunks */ +#if defined(COALESCE_STATIC_THUNK) + if (DECL_VISIBILITY (function) == VISIBILITY_HIDDEN || !TREE_PUBLIC (function) || DECL_INLINE (function)) + COALESCE_STATIC_THUNK (thunk_fndecl, /* public*/ 0); +#endif /* COALESCE_STATIC_THUNK */ + /* APPLE LOCAL end coalescing */ + push_to_top_level (); #ifdef ASM_OUTPUT_DEF |