[project @ 2002-01-30 10:52:38 by sewardj]
authorsewardj <unknown>
Wed, 30 Jan 2002 10:52:38 +0000 (10:52 +0000)
committersewardj <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

index 60870cf..84374d8 100644 (file)
@@ -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: