From 250d897e972a04af546eab8285f92f75b27cf6d5 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 18 Jan 2001 17:19:26 +0000 Subject: [PATCH] [project @ 2001-01-18 17:19:26 by simonmar] _scc_'s for the NCG --- ghc/compiler/main/CodeOutput.lhs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc/compiler/main/CodeOutput.lhs b/ghc/compiler/main/CodeOutput.lhs index 84f5645..3335b89 100644 --- a/ghc/compiler/main/CodeOutput.lhs +++ b/ghc/compiler/main/CodeOutput.lhs @@ -110,10 +110,11 @@ outputAsm dflags filenm flat_absC #ifndef OMIT_NATIVE_CODEGEN = do ncg_uniqs <- mkSplitUniqSupply 'n' - let (stix_final, ncg_output_d) = nativeCodeGen flat_absC ncg_uniqs + let (stix_final, ncg_output_d) = _scc_ "NativeCodeGen" + nativeCodeGen flat_absC ncg_uniqs dumpIfSet_dyn dflags Opt_D_dump_stix "Final stix code" stix_final dumpIfSet_dyn dflags Opt_D_dump_asm "Asm code" ncg_output_d - doOutput filenm ( \f -> printForAsm f ncg_output_d) + _scc_ "OutputAsm" doOutput filenm ( \f -> printForAsm f ncg_output_d) where #else /* OMIT_NATIVE_CODEGEN */ -- 1.7.10.4