• ahaas's avatar
    [wasm] Check for replacements of IndexNodes in the Int64Lowering. · fba90473
    ahaas authored
    The index input of load and store nodes has to be of type int32. However
    it is still possible that this index input was lowered by the
    Int64Lowering, for example if the index was a kTruncateInt64ToInt32
    node. With this CL we check if there exists a replacement of the index
    and if so, use the replacement instead of the original index as the
    input for the lowered load and store nodes.
    
    BUG=v8:5874
    R=titzer@chromium.org, eholk@chromium.org
    
    Review-Url: https://codereview.chromium.org/2644603004
    Cr-Commit-Position: refs/heads/master@{#42559}
    fba90473
test-run-wasm-64.cc 56.4 KB