[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 5 commits: JavaScript codegen: Use GHC's tag inference where JS backend-specific...

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Fri Feb 9 14:35:18 UTC 2024



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
1a33969d by Josh Meredith at 2024-02-09T09:34:33-05:00
JavaScript codegen: Use GHC's tag inference where JS backend-specific evaluation inference was previously used (#24309)

- - - - -
a38d06a5 by Zubin Duggal at 2024-02-09T09:34:34-05:00
ci: Allow release-hackage-lint to fail

Otherwise it blocks the ghcup metadata pipeline from running.

- - - - -
e2864333 by Matthew Pickering at 2024-02-09T09:34:35-05:00
rts: eras profiling mode

The eras profiling mode is useful for tracking the life-time of
closures. When a closure is written, the current era is recorded in the
profiling header. This records the era in which the closure was created.

* Enable with -he
* User mode: Use functions ghc-experimental module GHC.Profiling.Eras to modify the era
* Automatically: --automatic-era-increment, increases the user era on major
  collections
* The first era is era 1
* -he<era> can be used with other profiling modes to select a specific
  era

If you just want to record the era but not to perform heap profiling you
can use `-he --no-automatic-heap-samples`.

https://well-typed.com/blog/2024/01/ghc-eras-profiling/

Fixes #24332

- - - - -
9ee6b768 by Jade at 2024-02-09T09:34:36-05:00
Adjust error message for trailing whitespace in as-pattern.

Fixes #22524

- - - - -
b66e7d7e by doyougnu at 2024-02-09T09:34:40-05:00
gitlab: js: add codeowners

Fixes:
- #24409

Follow on from:
- #21078 and MR !9133
- When we added the JS backend this was forgotten. This patch adds the
rightful codeowners.

- - - - -


30 changed files:

- .gitlab-ci.yml
- CODEOWNERS
- compiler/GHC/Cmm/Parser.y
- compiler/GHC/JS/JStg/Syntax.hs
- compiler/GHC/Parser/Errors/Ppr.hs
- compiler/GHC/Parser/Lexer.x
- compiler/GHC/Stg/InferTags/Rewrite.hs
- compiler/GHC/StgToCmm/Prof.hs
- compiler/GHC/StgToJS/Apply.hs
- compiler/GHC/StgToJS/Expr.hs
- compiler/GHC/StgToJS/ExprCtx.hs
- compiler/GHC/StgToJS/Types.hs
- compiler/GHC/StgToJS/Utils.hs
- docs/users_guide/profiling.rst
- libraries/ghc-experimental/ghc-experimental.cabal
- − libraries/ghc-experimental/src/Dummy.hs
- + libraries/ghc-experimental/src/GHC/Profiling/Eras.hs
- libraries/ghc-internal/src/GHC/Profiling.hs
- rts/CloneStack.c
- rts/Continuation.c
- rts/Heap.c
- rts/Interpreter.c
- rts/LdvProfile.h
- rts/Messages.c
- rts/PrimOps.cmm
- rts/ProfHeap.c
- rts/ProfHeap.h
- rts/Profiling.c
- rts/RaiseAsync.c
- rts/RtsAPI.c


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/26a0b76bbae90a6a07c6e9637fd530fb3cfc544e...b66e7d7e6b387c53931f6124ba4bad24624da009

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/26a0b76bbae90a6a07c6e9637fd530fb3cfc544e...b66e7d7e6b387c53931f6124ba4bad24624da009
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/20240209/f105b9a1/attachment-0001.html>


More information about the ghc-commits mailing list