Skip to content
  • Ben Gamari's avatar
    b260f31f
    nativeGen: One approach to fix #18527 · b260f31f
    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].
    
    (cherry picked from commit a647bae8)
    b260f31f
    nativeGen: One approach to fix #18527
    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].
    
    (cherry picked from commit a647bae8)
Loading