[Git][ghc/ghc][wip/js-staging] 2 commits: Implement rts_isThreaded (fix jules_xref2)

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Thu Oct 6 12:48:59 UTC 2022



Sylvain Henry pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC


Commits:
340daf41 by Sylvain Henry at 2022-10-06T14:49:53+02:00
Implement rts_isThreaded (fix jules_xref2)

- - - - -
4aa2749c by Sylvain Henry at 2022-10-06T14:51:45+02:00
Disable outofmem2 test

- - - - -


2 changed files:

- rts/js/thread.js
- testsuite/tests/rts/all.T


Changes:

=====================================
rts/js/thread.js
=====================================
@@ -1426,3 +1426,5 @@ function h$makeMVarListener(mv, stopProp, stopImmProp, preventDefault) {
 function h$rs() {
   return h$stack[h$sp];
 }
+
+const rts_isThreaded = 0;


=====================================
testsuite/tests/rts/all.T
=====================================
@@ -100,7 +100,9 @@ test('outofmem', [ when(opsys('darwin'), skip),
                    when(opsys('mingw32'), skip),
 		   normalise_errmsg_fun(remove_parenthesis)],
                  makefile_test, ['outofmem'])
-test('outofmem2', normal, makefile_test, ['outofmem2'])
+test('outofmem2',
+  [ js_skip # JS backend doesn't detect heap exhaustion
+  ], makefile_test, ['outofmem2'])
 
 test('T2047',
      [ignore_stdout,



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/fc02ebca2e953d4c61817577628d8c5414df0d72...4aa2749cfced7c2d07d37dc200e0c1e4584524e2

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/fc02ebca2e953d4c61817577628d8c5414df0d72...4aa2749cfced7c2d07d37dc200e0c1e4584524e2
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/20221006/f8b93804/attachment.html>


More information about the ghc-commits mailing list