-
Clemens Hammacher authored
The WasmCompileLazy runtime function used to return the start of the instructions of the newly compiled function. With garbage collection of wasm code, it would be tricky to keep this wasm code object alive until it is being called. Thus make the runtime function not return anything, and call via the jump table instead. The jump table was patched as part of lazy compilation to point to the compiled code. Drive-by: Merge {LazyCompileFunction} into single caller {CompileLazy}. R=mstarzinger@chromium.org Bug: v8:8217 Change-Id: Id3c02f4dfe2c536e335af2e7e1b9700203d48675 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1509472 Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#60163}
67770d61