diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-12-02 12:57:53 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-12-02 12:57:53 +0000 |
commit | d6d15597100976c191e7d56add33ad2325301b91 (patch) | |
tree | 4b800670061bb562dd8cb1d1503ad45fac30fda0 /compiler/cmm/CmmPipeline.hs | |
parent | 45e70a14bb8333455e03bc19f36fbddbd2b6e573 (diff) | |
download | haskell-d6d15597100976c191e7d56add33ad2325301b91.tar.gz |
Tweak comments
Diffstat (limited to 'compiler/cmm/CmmPipeline.hs')
-rw-r--r-- | 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 159a31de11..ff69d7e18c 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 |