projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e943c43
)
Fix syntax error
author
Ian Lynagh
<igloo@earth.li>
Mon, 5 Feb 2007 20:31:25 +0000
(20:31 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 5 Feb 2007 20:31:25 +0000
(20:31 +0000)
compiler/nativeGen/AsmCodeGen.lhs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/AsmCodeGen.lhs
b/compiler/nativeGen/AsmCodeGen.lhs
index
f7b7570
..
47c875c
100644
(file)
--- a/
compiler/nativeGen/AsmCodeGen.lhs
+++ b/
compiler/nativeGen/AsmCodeGen.lhs
@@
-344,7
+344,7
@@
shortcutBranches dflags tops
mapping = foldr plusUFM emptyUFM mappings
build_mapping top@(CmmData _ _) = (top, emptyUFM)
-build_mapping (CmmProc info lbl params []) $
+build_mapping (CmmProc info lbl params [])
= (CmmProc info lbl params [], emptyUFM)
build_mapping (CmmProc info lbl params (head:blocks))
= (CmmProc info lbl params (head:others), mapping)