Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d6d15597100976c191e7d56add33ad2325301b91

>---------------------------------------------------------------

commit d6d15597100976c191e7d56add33ad2325301b91
Author: Ian Lynagh <i...@well-typed.com>
Date:   Sun Dec 2 12:57:53 2012 +0000

    Tweak comments

>---------------------------------------------------------------

 compiler/cmm/CmmPipeline.hs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/cmm/CmmPipeline.hs b/compiler/cmm/CmmPipeline.hs
index 159a31d..ff69d7e 100644
--- a/compiler/cmm/CmmPipeline.hs
+++ b/compiler/cmm/CmmPipeline.hs
@@ -183,14 +183,15 @@ cpsTop hsc_env proc =
         -- the entry point.
         splitting_proc_points = hscTarget dflags /= HscAsm
                              || not (tablesNextToCode dflags)
-                             || usingInconsistentPicReg -- Note 
[darwin-x86-pic]
+                             || -- Note [inconsistent-pic-reg]
+                                usingInconsistentPicReg
         usingInconsistentPicReg = ( platformArch platform == ArchX86 ||
                                     platformArch platform == ArchPPC
                                   )
                                && platformOS platform == OSDarwin
                                && gopt Opt_PIC dflags
 
-{- Note [darwin-x86-pic]
+{- Note [inconsistent-pic-reg]
 
 On x86/Darwin, PIC is implemented by inserting a sequence like
 



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to