Description[wasm] Prepare WasmCompilationUnit for lazy compilation
In lazy compilation, we only compile one function at a time, and we
might not have the wire bytes of the whole module available.
This CL prepares the WasmCompilationUnit for this setting.
It will also be helpful for streaming compilation.
Also, the ErrorThrower (which might heap-allocate) is not stored in the
WasmCompilationUnit any more. Instead, it is passed to the
FinishCompilation method which is allowed to heap-allocate.
R=titzer@chromium.org, ahaas@chromium.org
BUG=v8:5991
Review-Url: https://codereview.chromium.org/2726553003
Cr-Commit-Position: refs/heads/master@{#43573}
Committed: https://chromium.googlesource.com/v8/v8/+/7f68cbbffa14376006226a427d1b42081b109d46
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comment #Patch Set 3 : Minor fix in vector.h #
Total comments: 5
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 29 (19 generated)
|