• ahaas's avatar
    [wasm] Int64Lowering of I64Div and I64Rem. · 29e0e8e9
    ahaas authored
    On 32-bit systems these instructions are compiled to calls to
    C functions. The TF node for the function call is already generated in
    the wasm compiler, the lowering of the I64 parameters is done in the
    Int64Lowering. We use the return value of the C function to determine
    whether the calculation should trap or not.
    
    R=titzer@chromium.org
    
    Review URL: https://codereview.chromium.org/1804513002
    
    Cr-Commit-Position: refs/heads/master@{#34768}
    29e0e8e9
wasm-external-refs.h 5.47 KB