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:
a6f203c
)
Fix build on PPC: Add some missing parentheses
author
Ian Lynagh
<igloo@earth.li>
Sun, 27 Apr 2008 10:35:45 +0000
(10:35 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sun, 27 Apr 2008 10:35:45 +0000
(10:35 +0000)
compiler/nativeGen/PprMach.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/PprMach.hs
b/compiler/nativeGen/PprMach.hs
index
a9621d4
..
38267d0
100644
(file)
--- a/
compiler/nativeGen/PprMach.hs
+++ b/
compiler/nativeGen/PprMach.hs
@@
-601,7
+601,7
@@
pprAddr (AddrRegImm r1 imm)
#if powerpc_TARGET_ARCH
pprAddr (AddrRegReg r1 r2)
- = pprReg r1 <+> ptext sLit ", " <+> pprReg r2
+ = pprReg r1 <+> ptext (sLit ", ") <+> pprReg r2
pprAddr (AddrRegImm r1 (ImmInt i)) = hcat [ int i, char '(', pprReg r1, char ')' ]
pprAddr (AddrRegImm r1 (ImmInteger i)) = hcat [ integer i, char '(', pprReg r1, char ')' ]