diff options
Diffstat (limited to 'rts/sm/Evac.h')
-rw-r--r-- | rts/sm/Evac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rts/sm/Evac.h b/rts/sm/Evac.h index 78d024f3e9..ca5032f772 100644 --- a/rts/sm/Evac.h +++ b/rts/sm/Evac.h @@ -14,6 +14,8 @@ #ifndef SM_EVAC_H #define SM_EVAC_H +#pragma GCC visibility push(hidden) + // Use a register argument for evacuate, if available. // Earlier, the regparm attribute was used whenever __GNUC__ >= 2, but this // generated warnings on PPC. So the use is restricted further. @@ -35,5 +37,7 @@ REGPARM1 void evacuate1 (StgClosure **p); extern lnat thunk_selector_depth; +#pragma GCC visibility pop + #endif /* SM_EVAC_H */ |