Skip to content
  • Ian Lynagh's avatar
    Fix the generation of CallerSaves; fixes #7163 · 6d3fb1b1
    Ian Lynagh authored
    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.
    6d3fb1b1