[Git][ghc/ghc][wip/exception-context-prereqs] 17 commits: ghc-internal: Move modules into GHC.Internal.* namespace
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Sat Feb 24 17:47:02 UTC 2024
Ben Gamari pushed to branch wip/exception-context-prereqs at Glasgow Haskell Compiler / GHC
Commits:
457f8c04 by Ben Gamari at 2024-02-24T10:12:16-05:00
ghc-internal: Move modules into GHC.Internal.* namespace
Bumps haddock submodule due to testsuite output changes.
- - - - -
b9866f38 by Ben Gamari at 2024-02-24T10:12:16-05:00
ghc-internal: Rewrite `@since ` to `@since base-`
These will be incrementally moved to the export sites in `base` where
possible.
- - - - -
465741b6 by Ben Gamari at 2024-02-24T10:12:16-05:00
base: Migrate Haddock `not-home` pragmas from `ghc-internal`
This ensures that we do not use `base` stub modules as declarations'
homes when not appropriate.
- - - - -
7fc94a80 by Ben Gamari at 2024-02-24T10:12:16-05:00
base: Partially freeze exports of GHC.Base
Sadly there are still a few module reexports. However, at least we have
decoupled from the exports of `GHC.Internal.Base`.
- - - - -
a7963b03 by Ben Gamari at 2024-02-24T10:12:16-05:00
Move Haddock named chunks
- - - - -
2aaf558b by Ben Gamari at 2024-02-24T10:12:16-05:00
Drop GHC.Internal.Data.Int
- - - - -
0a092e35 by Ben Gamari at 2024-02-24T10:12:16-05:00
compiler: Fix mention to `GHC....` modules in wasm desugaring
Really, these references should be via known-key names anyways. I have
fixed the proximate issue here but have opened #24472 to track the
additional needed refactoring.
- - - - -
181d9ba5 by Ben Gamari at 2024-02-24T10:12:16-05:00
Accept performance shifts from ghc-internal restructure
As expected, Haddock now does more work. Less expected is that some
other testcases actually get faster, presumably due to less interface
file loading. As well, the size_hello_artifact test regressed a bit when
debug information is enabled due to debug information for the new stub
symbols.
Metric Decrease:
T12227
T13056
Metric Increase:
haddock.Cabal
haddock.base
MultiLayerModulesTH_OneShot
size_hello_artifact
- - - - -
1db1fafc by Ben Gamari at 2024-02-24T10:12:17-05:00
Expose GHC.Wasm.Prim from ghc-experimental
Previously this was only exposed from `ghc-internal` which violates our
agreement that users shall not rely on things exposed from that package.
Fixes #24479.
- - - - -
a22be350 by Ben Gamari at 2024-02-24T11:57:08-05:00
compiler/tc: Small optimisation of evCallStack
Don't lookupIds unless we actually need them.
- - - - -
1abdd26d by Ben Gamari at 2024-02-24T11:57:08-05:00
compiler/tc: Use toException instead of SomeException
- - - - -
69241930 by Ben Gamari at 2024-02-24T11:57:08-05:00
base: Factor out errorBelch
This was useful when debugging
- - - - -
85bdfcac by Ben Gamari at 2024-02-24T11:57:08-05:00
base: Clean up imports of GHC.Stack.CloneStack
- - - - -
b23387f2 by Ben Gamari at 2024-02-24T11:57:08-05:00
base: Move PrimMVar to GHC.Internal.MVar
- - - - -
effdd662 by Ben Gamari at 2024-02-24T11:57:12-05:00
base: Move prettyCallStack to GHC.Internal.Stack
- - - - -
3638912c by Ben Gamari at 2024-02-24T11:57:15-05:00
base: Explicit dependency to workaround #24436
Currently `ghc -M` fails to account for `.hs-boot` files correctly,
leading to issues with cross-package one-shot builds failing. This
currently manifests in `GHC.Exception` due to the boot file for
`GHC.Internal.Stack`. Work around this by adding an explicit `import`,
ensuring that `GHC.Internal.Stack` is built before `GHC.Exception`.
See #24436.
- - - - -
a429880b by Ben Gamari at 2024-02-24T11:57:15-05:00
base: Use displayException in top-level exception handler
Happily this also allows us to eliminate a special case for Deadlock
exceptions.
Implements [CLC #198](https://github.com/haskell/core-libraries-committee/issues/198).
- - - - -
30 changed files:
- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Builtin/Types.hs
- compiler/GHC/Builtin/Types/Literals.hs
- compiler/GHC/Core/Make.hs
- compiler/GHC/HsToCore/Foreign/Wasm.hs
- compiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/StgToJS/Linker/Utils.hs
- compiler/GHC/StgToJS/Prim.hs
- compiler/GHC/StgToJS/Rts/Rts.hs
- compiler/GHC/StgToJS/Types.hs
- compiler/GHC/Tc/Deriv/Generate.hs
- compiler/GHC/Tc/Errors/Hole.hs
- compiler/GHC/Tc/Gen/Splice.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Tc/Types/EvTerm.hs
- compiler/GHC/Types/Name.hs
- compiler/GHC/Types/Name/Cache.hs
- docs/users_guide/wasm.rst
- ghc/GHCi/UI/Monad.hs
- libraries/base/base.cabal
- libraries/base/changelog.md
- libraries/base/src/Control/Applicative.hs
- + libraries/base/src/Control/Arrow.hs
- + libraries/base/src/Control/Category.hs
- libraries/base/src/Control/Concurrent.hs
- libraries/base/src/Control/Concurrent/Chan.hs
- + libraries/base/src/Control/Concurrent/MVar.hs
- libraries/base/src/Control/Concurrent/QSem.hs
- libraries/base/src/Control/Concurrent/QSemN.hs
- libraries/ghc-internal/src/Control/Exception.hs → libraries/base/src/Control/Exception.hs
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/0af4e100bb03c88459f2e3c952e026297a9c2faa...a429880b453643141d30367730aaf610c3590e45
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/0af4e100bb03c88459f2e3c952e026297a9c2faa...a429880b453643141d30367730aaf610c3590e45
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240224/32a1c73b/attachment.html>
More information about the ghc-commits
mailing list