Commit e195ea85 authored by wolfgang's avatar wolfgang
Browse files

[project @ 2005-01-16 02:50:16 by wolfgang]

pprExpr: add cases for CmmPicBaseReg and CmmRegOff
so that we can do -fPIC -ddump-opt-cmm
parent 05990bef
...@@ -315,7 +315,9 @@ pprExpr9 e = ...@@ -315,7 +315,9 @@ pprExpr9 e =
CmmLit lit -> pprLit1 lit CmmLit lit -> pprLit1 lit
CmmLoad expr rep -> ppr rep <> brackets( ppr expr ) CmmLoad expr rep -> ppr rep <> brackets( ppr expr )
CmmReg reg -> ppr reg CmmReg reg -> ppr reg
CmmRegOff reg off -> parens (ppr reg <+> char '+' <+> int off)
CmmMachOp mop args -> genMachOp mop args CmmMachOp mop args -> genMachOp mop args
CmmPicBaseReg -> text "PIC_BASE_REG"
e -> parens (pprExpr e) e -> parens (pprExpr e)
genMachOp :: MachOp -> [CmmExpr] -> SDoc genMachOp :: MachOp -> [CmmExpr] -> SDoc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment