[Git][ghc/ghc][wip/js-staging] PrimOp: correclty (un)handle new thread related primops

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Fri Aug 12 12:38:09 UTC 2022



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


Commits:
c1063659 by Sylvain Henry at 2022-08-12T14:40:39+02:00
PrimOp: correclty (un)handle new thread related primops

- - - - -


1 changed file:

- compiler/GHC/StgToJS/Prim.hs


Changes:

=====================================
compiler/GHC/StgToJS/Prim.hs
=====================================
@@ -1120,7 +1120,10 @@ genPrim prof ty op = case op of
   ClosureSizeOp                     -> unhandledPrimop op
   GetApStackValOp                   -> unhandledPrimop op
   WhereFromOp                       -> unhandledPrimop op -- should be easily implementable with o.f.n
+
   SetThreadAllocationCounter        -> unhandledPrimop op
+  GetThreadLabelOp                  -> unhandledPrimop op
+  ListThreadsOp                     -> unhandledPrimop op
 
   VecBroadcastOp _ _ _              -> unhandledPrimop op
   VecPackOp _ _ _                   -> unhandledPrimop op



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1063659a48c5c89aa1afb7698d27452019fb7d1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c1063659a48c5c89aa1afb7698d27452019fb7d1
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/20220812/bcee6715/attachment-0001.html>


More information about the ghc-commits mailing list