• Clemens Backes's avatar
    [wasm] Use AssemblerBufferCache also for TurboFan · c33257e1
    Clemens Backes authored
    The AssemblerBufferCache was so far only used for Liftoff compilation.
    Hence all TurboFan compilation was using unprotected assembler buffers.
    
    This CL passes the AssemblerBufferCache from the function compiler down
    to the TurboFan PipelineData. From there it is used when instantiating
    the CodeGenerator to generate the AssemblerBuffer for the
    TurboAssembler. This will protect the assembler buffers used for
    TurboFan Wasm compilation via PKU, if available.
    
    Since PipelineData has a single constructor for all Wasm compilation, we
    have a single choke point to ensure that an AssemblerBufferCache is
    passed down. For Wasm stub compilation (import wrappers etc) we
    currently explicitly pass a nullptr, this will be fixed in a follow-up
    CL.
    
    R=thibaudm@chromium.org, tebbi@chromium.org
    
    Bug: v8:12809
    Change-Id: I268bd21047adbd7f0aab78e8b0a4b4df1d1f8ddf
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3596172Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80210}
    c33257e1
Name
Last commit
Last update
..
c-signature.h Loading commit data...
call-tester.h Loading commit data...
code-assembler-tester.h Loading commit data...
function-tester.cc Loading commit data...
function-tester.h Loading commit data...
graph-and-builders.h Loading commit data...
node-observer-tester.h Loading commit data...
serializer-tester.h Loading commit data...
test-atomic-load-store-codegen.cc Loading commit data...
test-basic-block-profiler.cc Loading commit data...
test-branch-combine.cc Loading commit data...
test-calls-with-arraylike-or-spread.cc Loading commit data...
test-code-assembler.cc Loading commit data...
test-code-generator.cc Loading commit data...
test-codegen.cc Loading commit data...
test-codegen.h Loading commit data...
test-concurrent-shared-function-info.cc Loading commit data...
test-gap-resolver.cc Loading commit data...
test-graph-visualizer.cc Loading commit data...
test-instruction-scheduler.cc Loading commit data...
test-instruction.cc Loading commit data...
test-js-constant-cache.cc Loading commit data...
test-js-context-specialization.cc Loading commit data...
test-js-typed-lowering.cc Loading commit data...
test-jump-threading.cc Loading commit data...
test-linkage.cc Loading commit data...
test-loop-analysis.cc Loading commit data...
test-machine-operator-reducer.cc Loading commit data...
test-multiple-return.cc Loading commit data...
test-node.cc Loading commit data...
test-operator.cc Loading commit data...
test-representation-change.cc Loading commit data...
test-run-bytecode-graph-builder.cc Loading commit data...
test-run-calls-to-external-references.cc Loading commit data...
test-run-deopt.cc Loading commit data...
test-run-jsbranches.cc Loading commit data...
test-run-jscalls.cc Loading commit data...
test-run-jsexceptions.cc Loading commit data...
test-run-jsobjects.cc Loading commit data...
test-run-jsops.cc Loading commit data...
test-run-load-store.cc Loading commit data...
test-run-machops.cc Loading commit data...
test-run-native-calls.cc Loading commit data...
test-run-stackcheck.cc Loading commit data...
test-run-tail-calls.cc Loading commit data...
test-run-unwinding-info.cc Loading commit data...
test-run-variables.cc Loading commit data...
test-sloppy-equality.cc Loading commit data...
test-verify-type.cc Loading commit data...
value-helper.cc Loading commit data...
value-helper.h Loading commit data...