[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 6 commits: EPA: Move EpAnn out of extension points

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Feb 14 14:47:42 UTC 2024



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


Commits:
0e01e1db by Alan Zimmerman at 2024-02-14T02:13:22-05:00
EPA: Move EpAnn out of extension points

Leaving a few that are too tricky, maybe some other time.

Also
 - remove some unneeded helpers from Parser.y
 - reduce allocations with strictness annotations

Updates haddock submodule

Metric Decrease:
    parsing001

- - - - -
de589554 by Andreas Klebinger at 2024-02-14T02:13:59-05:00
Fix ffi callbacks with >6 args and non-64bit args.

Check for ptr/int arguments rather than 64-bit width arguments when counting
integer register arguments.
The old approach broke when we stopped using exclusively W64-sized types to represent
sub-word sized integers.

Fixes #24314

- - - - -
3313b4dd by Ben Gamari at 2024-02-14T09:47:36-05:00
rts/EventLog: Place eliminate duplicate strlens

Previously many of the `post*` implementations would first compute the
length of the event's strings in order to determine the event length.
Later we would then end up computing the length yet again in
`postString`. Now we instead pass the string length to `postStringLen`,
avoiding the repeated work.

- - - - -
0ea7aa6a by Ben Gamari at 2024-02-14T09:47:36-05:00
rts/eventlog: Place upper bound on IPE string field lengths

The strings in IPE events may be of unbounded length. Limit the lengths
of these fields to 64k characters to ensure that we don't exceed the
maximum event length.

- - - - -
fad489c5 by Zubin Duggal at 2024-02-14T09:47:36-05:00
rts: drop unused postString function

- - - - -
25439a86 by Cheng Shao at 2024-02-14T09:47:38-05:00
compiler/rts: fix wasm unreg regression

This commit fixes two wasm unreg regressions caught by a nightly
pipeline:

- Unknown stg_scheduler_loopzh symbol when compiling scheduler.cmm
- Invalid _hs_constructor(101) function name when handling ctor

- - - - -


11 changed files:

- compiler/GHC/CmmToC.hs
- compiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/Hs/Pat.hs
- compiler/GHC/Hs/Type.hs
- compiler/GHC/Hs/Utils.hs
- compiler/GHC/HsToCore/Arrows.hs
- compiler/GHC/HsToCore/Foreign/C.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/9ff6c5a03260ff3098dfe0af3a2ef6ab594ea3e1...25439a86eb11fbb3189d10d25b1080aa9ab32ca2

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/9ff6c5a03260ff3098dfe0af3a2ef6ab594ea3e1...25439a86eb11fbb3189d10d25b1080aa9ab32ca2
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/20240214/84a00e5c/attachment.html>


More information about the ghc-commits mailing list