Sven Tennie pushed to branch wip/supersven/ghc-9.12.2-release+jumptable-fix at Glasgow Haskell Compiler / GHC
Commits:
-
5a7cc5ff
by Ben Gamari at 2025-06-19T12:33:17+00:00
1 changed file:
Changes:
| ... | ... | @@ -9,7 +9,19 @@ |
| 9 | 9 | //
|
| 10 | 10 | // The CPP is thus about the RTS version GHC is linked against, and not the
|
| 11 | 11 | // version of the GHC being built.
|
| 12 | -#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)
|
|
| 12 | + |
|
| 13 | +#if MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)
|
|
| 14 | +// Unique64 patch was present in 9.10 and later
|
|
| 15 | +#define HAVE_UNIQUE64 1
|
|
| 16 | +#elif !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0) && MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)
|
|
| 17 | +// Unique64 patch was backported to 9.8.4
|
|
| 18 | +#define HAVE_UNIQUE64 1
|
|
| 19 | +#elif !MIN_VERSION_GLASGOW_HASKELL(9,7,0,0) && MIN_VERSION_GLASGOW_HASKELL(9,6,7,0)
|
|
| 20 | +// Unique64 patch was backported to 9.6.7
|
|
| 21 | +#define HAVE_UNIQUE64 1
|
|
| 22 | +#endif
|
|
| 23 | + |
|
| 24 | +#if !defined(HAVE_UNIQUE64)
|
|
| 13 | 25 | HsWord64 ghc_unique_counter64 = 0;
|
| 14 | 26 | #endif
|
| 15 | 27 | #if !MIN_VERSION_GLASGOW_HASKELL(9,3,0,0)
|