• Clemens Backes's avatar
    [no-wasm] Remove wasm engine from isolate · c87b273c
    Clemens Backes authored
    This removes the {wasm_engine_} field from the isolate if
    v8_enable_webassembly=false. This avoids any includes from src/wasm in
    isolate.{h,cc}.
    Unconditional access to the wasm engine in other parts are also #if'ed
    out to avoid nullptr accesses.
    Long-term, the {Isolate::wasm_engine()} method will be fully removed,
    but this can only be done once src/wasm is excluded from compilation.
    
    R=jkummerow@chromium.org, petermarshall@chromium.org
    
    Bug: v8:11238
    Change-Id: Ie3738884ec17ccc0a3027b91a2415c2c633ca774
    Cq-Include-Trybots: luci.v8.try:v8_linux64_no_wasm_compile_rel
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737298Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73230}
    c87b273c
cpu-profiler.cc 19.6 KB