• ahaas's avatar
    [wasm] Fix a typo in wasm-js.cc · 1f069202
    ahaas authored
    I guess that a comparison with i::wasm::kV8MaxWasmTableSize was not
    intended here. I did not add a test because I do not even know if it is
    even possible to create a WasmMemoryObject with
    maximum_pages > i::wasm::kV8MaxWasmMemoryPages. Maybe we should replace
    the condition with a Check instead.
    
    R=titzer@chromium.org
    
    Review-Url: https://codereview.chromium.org/2645273004
    Cr-Commit-Position: refs/heads/master@{#42596}
    1f069202
wasm-js.cc 38.1 KB