X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FllvmGen%2FLlvmCodeGen%2FPpr.hs;fp=compiler%2FllvmGen%2FLlvmCodeGen%2FPpr.hs;h=2a96efbf8eab962998aea512396d5f61bb99c66d;hb=6bae9f3ff5422c8ebe8a53d0981f51b3ced26777;hp=81377137746044ee55dcee7f7787b0f487478934;hpb=7dc0cd52f216da7a46c4832da0a68f2ec1f181f0;p=ghc-hetmet.git diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs index 8137713..2a96efb 100644 --- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs +++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs @@ -90,10 +90,9 @@ pprLlvmCmmTop env count (CmmProc info lbl _ (ListGraph blks)) link = if externallyVisibleCLabel lbl' then ExternallyVisible else Internal - funDec = llvmFunSig lbl' link lmblocks = map (\(BasicBlock id stmts) -> LlvmBlock (getUnique id) stmts) blks - fun = LlvmFunction funDec [NoUnwind] sec' lmblocks + fun = mkLlvmFunc lbl' link sec' lmblocks in ppLlvmFunction fun ), ivar)