projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4f1ad7
)
[project @ 1998-08-31 16:42:43 by sof]
author
sof
<unknown>
Mon, 31 Aug 1998 16:42:43 +0000
(16:42 +0000)
committer
sof
<unknown>
Mon, 31 Aug 1998 16:42:43 +0000
(16:42 +0000)
Bomb out if we encounter a _ccall_GC_; can't handle it.
ghc/compiler/nativeGen/StixPrim.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/StixPrim.lhs
b/ghc/compiler/nativeGen/StixPrim.lhs
index
42c2bf9
..
c23c743
100644
(file)
--- a/
ghc/compiler/nativeGen/StixPrim.lhs
+++ b/
ghc/compiler/nativeGen/StixPrim.lhs
@@
-447,6
+447,7
@@
primCode [lhs] SeqOp [a]
primCode lhs (CCallOp (Just fn) is_asm may_gc cconv arg_tys result_ty) rhs
| is_asm = error "ERROR: Native code generator can't handle casm"
+ | may_gc = error "ERROR: Native code generator can't handle _ccall_GC_\n"
| otherwise
= case lhs of
[] -> returnUs (\xs -> (StCall fn cconv VoidRep args) : xs)