• Michael Starzinger's avatar
    [asm.js] Correctly set minimum memory size to zero. · 89f839e5
    Michael Starzinger authored
    This makes sure the minimum memory size for WebAssembly modules derived
    from asm.js is set to zero. It allows instatiation without allocating an
    underlying memory, when such memory is unused. It also fixes a bug in
    patching of embedded memory sizes for asm.js modules.
    
    R=ahaas@chromium.org
    TEST=mjsunit/regress/regress-crbug-759327
    BUG=chromium:759327
    
    Change-Id: If5a965b96a03cbb5ba15bc41fbaf359f74961f41
    Reviewed-on: https://chromium-review.googlesource.com/637912
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47646}
    89f839e5
module-decoder.h 5.57 KB