• Ben Gamari's avatar
    nativeGen: One approach to fix #18527 · 15b36de0
    Ben Gamari authored
    Previously the code generator could produce corrupt C call sequences due
    to register overlap between MachOp lowerings and the platform's calling
    convention. We fix this using a hack described in Note [Evaluate C-call
    arguments before placing in destination registers].
    15b36de0
MachOp.hs 21.4 KB