• Leszek Swirski's avatar
    Revert "[wasm] Support partial serialization of modules" · 580508f8
    Leszek Swirski authored
    This reverts commit bce81d6b.
    
    Reason for revert: Newly introduced test is flaking, e.g. https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20ASAN/41030/overview or https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux/43171/overview
    
    Original change's description:
    > [wasm] Support partial serialization of modules
    >
    > At the moment a WebAssembly module can be serialized successfully when
    > all functions were compiled with TurboFan. However, for some functions
    > it may not be necessary to be compiled with TurboFan, e.g. for functions
    > where Liftoff code is as good as TurboFan code.
    >
    > With this CL we allow WebAssembly modules to get serialized even when
    > not all functions are compiled with TurboFan. Missing functions are
    > marked as missing in the serlialization. Upon deserialization, missing
    > functions either get compiled by Liftoff, or initialized with a
    > lazy-compilation stub, depending on the V8 configuration.
    >
    > Bug: v8:11862
    > Change-Id: Ic833a17639bf841c5def6fe3c35173fe0376c246
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2960209
    > Commit-Queue: Andreas Haas <ahaas@chromium.org>
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#75987}
    
    Bug: v8:11862
    Change-Id: I5445c097ec47f407e5f951d4cf6d2168113f80e8
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3060484
    Auto-Submit: Leszek Swirski <leszeks@chromium.org>
    Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#75997}
    580508f8
wasm-serialization.cc 33 KB