• Thibaud Michaud's avatar
    Reland "[wasm] Cleanup wasm script creation" · a874463a
    Thibaud Michaud authored
    This is a reland of f902ef32
    
    Original change's description:
    > [wasm] Cleanup wasm script creation
    > 
    > - Do not expose CreateWasmScript since we should now use
    > WasmEngine:GetOrCreateScript instead,
    > - Initialize all Script fields in CreateWasmScript, not in
    > WasmModuleObject::New,
    > - Do not pass code size estimate argument, since we can always use the
    > actual native module's committed code space.
    > 
    > R=clemensb@chromium.org
    > 
    > Bug: v8:10349
    > Change-Id: If9250d62ffc271ab6efc3b9c45958a305c9d1827
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2135633
    > Reviewed-by: Clemens Backes <clemensb@chromium.org>
    > Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#67083}
    
    Bug: v8:10349
    Change-Id: I38c8b6beb07a1e5d565c6a5fd749daea147817bb
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2144064Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67087}
    a874463a
compiled-module-management.js 2.56 KB