diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-08-21 16:41:30 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-08-21 16:44:51 +0100 |
commit | 6d3fb1b1efee263f07da47693147990e8443ab1d (patch) | |
tree | f61678c3b8da7ad81a3c8a110e52305cf821b7fc /compiler/codeGen/StgCmmUtils.hs | |
parent | d4ac7d8160b3533c7d0a2377b5442038f69486a8 (diff) | |
download | haskell-6d3fb1b1efee263f07da47693147990e8443ab1d.tar.gz |
Fix the generation of CallerSaves; fixes #7163
Simon Marlow spotted that we were #include'ing MachRegs.h several times,
but that doesn't work as (a) it uses ifdeffery to avoid being included
multiple times, and (b) even if we work around that, then the #define's
from previous inclusions are still defined when we #include it again.
So we now put the platform code for each platform in a separate .hs file.
Diffstat (limited to 'compiler/codeGen/StgCmmUtils.hs')
-rw-r--r-- | compiler/codeGen/StgCmmUtils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/StgCmmUtils.hs b/compiler/codeGen/StgCmmUtils.hs index 13c8eccb9a..ad435c740e 100644 --- a/compiler/codeGen/StgCmmUtils.hs +++ b/compiler/codeGen/StgCmmUtils.hs @@ -57,7 +57,7 @@ import StgCmmClosure import Cmm import BlockId import MkGraph -import CallerSaves +import CodeGen.CallerSaves import CLabel import CmmUtils |