Commit 5af8d7d2 authored by Andreas Haas's avatar Andreas Haas Committed by V8 LUCI CQ
Browse files

[wasm] Initialize CompilationUnits based on the compilation progress

In the existing code we calculate twice how we want to compile a
WebAssembly function, first in InitializeCompilationProgress, and then
again in InitializeCompilationUnit. With this CL we use the information
in the compilation progress to create the CompilationUnits. Not only
does this make the code cleaner, it will also allow us to initialize the
compilation progress differently for deserialization but reuse the code
to create CompilationUnits.

R=clemensb@chromium.org

Bug: v8:11862
Change-Id: Iee48727be429e3a3a950404806fdd04264145999
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2988759


Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: default avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75516}
parent 384c634f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment