diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-02-12 15:38:58 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-14 03:35:44 -0500 |
commit | bc5cb5f900941085e5e22f3e8cafa4deea3b589c (patch) | |
tree | 2384fd8c7bc19375b4306aec3ad55769aba626a8 /ghc | |
parent | 72f230837ef166d4c931621b484471090d5338f6 (diff) | |
download | haskell-bc5cb5f900941085e5e22f3e8cafa4deea3b589c.tar.gz |
Drop GHC_LOADED_IN_GHCI
This previously supported the ghc-in-ghci script which has been since
dropped. Hadrian's ghci support does not need this macro (which disabled
uses of UnboxedTuples) since it uses `-fno-code` rather than produce
bytecode.
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/Main.hs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs index a916820015..2626d78924 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -893,18 +893,5 @@ people since we're linking GHC dynamically, but most things themselves link statically. -} --- If GHC_LOADED_INTO_GHCI is not set when GHC is loaded into GHCi, then --- running it causes an error like this: --- --- Loading temp shared object failed: --- /tmp/ghc13836_0/libghc_1872.so: undefined symbol: initGCStatistics --- --- Skipping the foreign call fixes this problem, and the outer GHCi --- should have already made this call anyway. -#if defined(GHC_LOADED_INTO_GHCI) -initGCStatistics :: IO () -initGCStatistics = return () -#else foreign import ccall safe "initGCStatistics" initGCStatistics :: IO () -#endif |