Skip to content
  • Ben Gamari's avatar
    e64ac078
    nativeGen: One approach to fix #18527 · e64ac078
    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 15b36de0)
    e64ac078
    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 15b36de0)
Loading