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:
13a46b4
)
[project @ 2002-01-30 10:52:38 by sewardj]
author
sewardj
<unknown>
Wed, 30 Jan 2002 10:52:38 +0000
(10:52 +0000)
committer
sewardj
<unknown>
Wed, 30 Jan 2002 10:52:38 +0000
(10:52 +0000)
Fix syntax error in printing indirect calls in sparc assembly.
ghc/compiler/nativeGen/PprMach.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/PprMach.lhs
b/ghc/compiler/nativeGen/PprMach.lhs
index
60870cf
..
84374d8
100644
(file)
--- a/
ghc/compiler/nativeGen/PprMach.lhs
+++ b/
ghc/compiler/nativeGen/PprMach.lhs
@@
-1690,7
+1690,7
@@
pprInstr (JMP dsts addr) = (<>) (ptext SLIT("\tjmp\t")) (pprAddr addr)
pprInstr (CALL (Left imm) n _)
= hcat [ ptext SLIT("\tcall\t"), pprImm imm, comma, int n ]
pprInstr (CALL (Right reg) n _)
- = hcat [ ptext SLIT("\tcall *\t"), pprReg reg, comma, int n ]
+ = hcat [ ptext SLIT("\tcall\t"), pprReg reg, comma, int n ]
\end{code}
Continue with SPARC-only printing bits and bobs: