• Clemens Backes's avatar
    [wasm] Remove ExecutionTier::kInterpreter · 0c918bd8
    Clemens Backes authored
    The interpreter is not an execution tier in production any more. It's
    only used in tests.
    Thus, remove {ExecutionTier::kInterpreter} and instead add a
    {TestExecutionTier} that still has {kInterpreter}.
    
    If needed (in {TestingModuleBuilder::execution_tier()}), we translate
    back from {TestExecutionTier} to {ExecutionTier} (for {kLiftoff} and
    {kTurboFan} only).
    
    The {TraceMemoryOperation} method, which is shared between interpreter
    and production code, now receives a {base::Optional<ExecutionTier>}, and
    we will just pass en empty optional if called from the interpreter.
    
    R=thibaudm@chromium.org
    
    Bug: v8:10389
    Change-Id: Ibe133b91e8dca6d6edbfaee5ffa0d7fe72ed6d64
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335186Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69260}
    0c918bd8
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...