• ahaas's avatar
    [wasm] Do not create special wrappers for i64 imports on 32-bit platforms · 339b0a09
    ahaas authored
    Wrapper creation for import functions with i64 return values on 32-bit
    platforms crashed because the number of return values of the wrapper
    did not match the number of input nodes of the return node.
    
    The issue is fixed by not creating special wrappers for 32-bit platforms
    in the first place. This is valid because wrappers with i64 return
    values are never actually executed.
    
    R=titzer@chromium.org
    BUG=v8:5661
    
    Review-Url: https://codereview.chromium.org/2517173003
    Cr-Commit-Position: refs/heads/master@{#41190}
    339b0a09
wasm-compiler.cc 128 KB