[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 12 commits: JS: establish single source of truth for symbols

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Mon Jun 10 01:34:09 UTC 2024



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


Commits:
6bd850e8 by doyougnu at 2024-06-09T21:02:14-04:00
JS: establish single source of truth for symbols

In pursuit of: #22736.

This MR moves ad-hoc symbols used throughout the js backend into a
single symbols file. Why? First, this cleans up the code by removing
ad-hoc strings created on the fly and therefore makes the code more
maintainable. Second, it makes it much easier to eventually type these
identifiers.

- - - - -
f3017dd3 by Cheng Shao at 2024-06-09T21:02:49-04:00
rts: replace ad-hoc MYTASK_USE_TLV with proper CC_SUPPORTS_TLS

This patch replaces the ad-hoc `MYTASK_USE_TLV` with the
`CC_SUPPORTS_TLS` macro. If TLS support is detected by autoconf, then
we should use that for managing `myTask` in the threaded RTS.

- - - - -
332bc366 by Ben Gamari at 2024-06-09T21:34:01-04:00
users-guide: Fix stylistic issues in 9.12 release notes

- - - - -
b774430e by qqwy at 2024-06-09T21:34:02-04:00
Add `__GLASGOW_HASKELL_ASSERTS_IGNORED__` as CPP macro name if `-fasserts-ignored is set

- - - - -
d0bfd4ee by qqwy at 2024-06-09T21:34:02-04:00
Document __GLASGOW_HASKELL_ASSERTS_IGNORED__ in the users's guide

- - - - -
0babc8c6 by qqwy at 2024-06-09T21:34:03-04:00
fixup! Add `__GLASGOW_HASKELL_ASSERTS_IGNORED__` as CPP macro name if `-fasserts-ignored is set

- - - - -
88b5d741 by qqwy at 2024-06-09T21:34:03-04:00
Add a test for the usage of the __GLASGOW_HASKELL_ASSERTIONS_IGNORED__ CPP macro

- - - - -
20f5fad3 by qqwy at 2024-06-09T21:34:03-04:00
fixup! Document __GLASGOW_HASKELL_ASSERTS_IGNORED__ in the users's guide

- - - - -
49d44b11 by qqwy at 2024-06-09T21:34:03-04:00
fixup! Add a test for the usage of the __GLASGOW_HASKELL_ASSERTIONS_IGNORED__ CPP macro

- - - - -
c66d61f2 by Ben Gamari at 2024-06-09T21:34:03-04:00
Fix documentation typos (RST syntax) in the documentation of __GLASGOW_HASKELL_ASSERTS_IGNORED__
- - - - -
ad36e4e9 by qqwy at 2024-06-09T21:34:03-04:00
fixup! Fix documentation typos (RST syntax) in the documentation of __GLASGOW_HASKELL_ASSERTS_IGNORED__

- - - - -
ac41d111 by Hugo Peters at 2024-06-09T21:34:03-04:00
fix typo in the simplifier debug output:

baling -> bailing

- - - - -


20 changed files:

- compiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/JS/Ident.hs
- compiler/GHC/JS/JStg/Monad.hs
- compiler/GHC/JS/JStg/Syntax.hs
- compiler/GHC/JS/Make.hs
- compiler/GHC/JS/Syntax.hs
- compiler/GHC/StgToJS.hs
- compiler/GHC/StgToJS/Apply.hs
- compiler/GHC/StgToJS/Arg.hs
- compiler/GHC/StgToJS/Closure.hs
- compiler/GHC/StgToJS/Expr.hs
- compiler/GHC/StgToJS/FFI.hs
- compiler/GHC/StgToJS/Heap.hs
- compiler/GHC/StgToJS/Ids.hs
- compiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/StgToJS/Literal.hs
- compiler/GHC/StgToJS/Object.hs
- compiler/GHC/StgToJS/Prim.hs
- compiler/GHC/StgToJS/Profiling.hs
- compiler/GHC/StgToJS/Regs.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e42bb7032cd7e48df7b9bef343ccf692682b944f...ac41d11121f447dd7e6c7fbe3ec31760f1bcb2f8

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e42bb7032cd7e48df7b9bef343ccf692682b944f...ac41d11121f447dd7e6c7fbe3ec31760f1bcb2f8
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/20240609/d66c04e9/attachment.html>


More information about the ghc-commits mailing list