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:
37cb78b
)
[project @ 2001-11-08 18:55:19 by sof]
author
sof
<unknown>
Thu, 8 Nov 2001 18:55:19 +0000
(18:55 +0000)
committer
sof
<unknown>
Thu, 8 Nov 2001 18:55:19 +0000
(18:55 +0000)
gencode: for completeness sake only, handle CCallTypedefs
ghc/compiler/nativeGen/AbsCStixGen.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/AbsCStixGen.lhs
b/ghc/compiler/nativeGen/AbsCStixGen.lhs
index
262b8fc
..
c85e6d3
100644
(file)
--- a/
ghc/compiler/nativeGen/AbsCStixGen.lhs
+++ b/
ghc/compiler/nativeGen/AbsCStixGen.lhs
@@
-469,6
+469,8
@@
Finally, all of the disgusting AbstractC macros.
gencode (CCallProfCCMacro macro _)
= returnUs (\xs -> StComment macro : xs)
+ gencode CCallTypedef{} = returnUs id
+
gencode other
= pprPanic "AbsCStixGen.gencode" (dumpRealC other)