-
Ng Zhi An authored
This is a partial revert of https://crrev.com/c/2033171 to bring back WasmModuleObject::Compile, that compiles Wasm bytes into a Wasm module. Also adding a simple test to make sure the compile works. There are some users, e.g. Cloudflare, Halide, see bug for more details. Bug: v8:10461 Change-Id: I199abea108311025decad793d2232a08bba05d38 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3292088 Commit-Queue: Zhi An Ng <zhin@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78003}
835ff2bc