summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2015-03-27 00:09:23 -0400
committerReid Barton <rwbarton@gmail.com>2015-03-27 11:39:51 -0400
commitaf45feba476af0b5a12f3a1ac36854f2cf44f993 (patch)
tree2d777e7833f1879dcd63bd43e11268a2483db6b1 /utils
parent90dd11bf1918485f0f19bb2fb764f1675c0f0dd5 (diff)
downloadhaskell-af45feba476af0b5a12f3a1ac36854f2cf44f993.tar.gz
Update list of primops that don't get wrappers (#10191)
Summary: The list was 14 years old, and there don't seem to be any problems with seq# or par#; the other par*# primops were not actually implemented at all and were removed in D758. Test Plan: validate; will also try to locally validate an unregisterised build in case there was some truth to the deleted comment Reviewers: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D759 GHC Trac Issues: #10191
Diffstat (limited to 'utils')
-rw-r--r--utils/genprimopcode/Main.hs10
1 files changed, 4 insertions, 6 deletions
diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs
index 7ade0b1cae..803323fbc0 100644
--- a/utils/genprimopcode/Main.hs
+++ b/utils/genprimopcode/Main.hs
@@ -567,12 +567,10 @@ gen_wrappers (Info _ entries)
dodgy spec
= name spec `elem`
- [-- C code generator can't handle these
- "seq#",
- "tagToEnum#",
- -- not interested in parallel support
- "par#", "parGlobal#", "parLocal#", "parAt#",
- "parAtAbs#", "parAtRel#", "parAtForNow#"
+ [-- tagToEnum# is really magical, and can't have
+ -- a wrapper since its implementation depends on
+ -- the type of its result
+ "tagToEnum#"
]
is_llvm_only :: Entry -> Bool