[Git][ghc/ghc][wip/js-staging] Add missing GHC globals
Sylvain Henry (@hsyl20)
gitlab at gitlab.haskell.org
Tue Oct 18 11:29:25 UTC 2022
Sylvain Henry pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC
Commits:
2d5afc5b by Sylvain Henry at 2022-10-18T13:32:58+02:00
Add missing GHC globals
- - - - -
2 changed files:
- rts/js/globals.js
- rts/rts.cabal.in
Changes:
=====================================
rts/js/globals.js
=====================================
@@ -17,3 +17,8 @@ GVAR(h$getOrSetLibHSghcGlobalHasPprDebug, has_ppr_debug)
GVAR(h$getOrSetLibHSghcGlobalHasNoDebugOutput, has_no_debug_output)
GVAR(h$getOrSetLibHSghcGlobalHasNoStateHack, has_no_state_hack)
GVAR(h$getOrSetLibHSghcFastStringTable, faststring_table)
+
+var h$ghc_unique_inc = h$newByteArray(4);
+h$ghc_unique_inc.i3[0] = 1;
+var h$ghc_unique_counter = h$newByteArray(4);
+h$ghc_unique_counter.i3[0] = 0;
=====================================
rts/rts.cabal.in
=====================================
@@ -84,7 +84,6 @@ library
js/enum.js
js/environment.js
js/gc.js
- js/globals.js
js/goog.js
js/hscore.js
js/md5.js
@@ -101,6 +100,7 @@ library
js/unicode.js
js/verify.js
js/weak.js
+ js/globals.js
install-includes: HsFFI.h MachDeps.h Rts.h RtsAPI.h Stg.h
ghcautoconf.h ghcconfig.h ghcplatform.h ghcversion.h
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2d5afc5bb2bbae48534d6e6326ffef656065bded
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2d5afc5bb2bbae48534d6e6326ffef656065bded
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/20221018/f990cfc4/attachment-0001.html>
More information about the ghc-commits
mailing list