deps: V8: cherry-pick 0c11feeeca4a

Original commit message:

    [turboshaft][tsa] specify namespace for Block

    It is ambiguous otherwise. There is `v8::internal::Block` and
    `v8::internal::compiler::turboshaft::Block`.
    This change is also consistent with the other types used in the macro.

    Change-Id: Ica7e5a09de955d8f38756fe26ab5f7e93e7e16e2
    Reviewed-on: 5878257
    Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    Commit-Queue: Michaël Zasso <mic.besace@gmail.com>
    Reviewed-by: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#96278}

Refs: 0c11feeeca
PR-URL: https://github.com/nodejs/node/pull/55014
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
Michaël Zasso 2024-09-25 22:45:18 +02:00
parent d85d2f8350
commit 5d8011d91c
No known key found for this signature in database
GPG key ID: 770F7A9A5AE15600
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.7',
'v8_embedder_string': '-node.8',
##### V8 defaults for Node.js #####

View file

@ -31,7 +31,7 @@ using namespace compiler::turboshaft; // NOLINT(build/namespaces)
compiler::turboshaft::Graph& graph, Zone* zone) { \
Name##AssemblerTS assembler(data, isolate, graph, zone); \
assembler.EmitBytecodeHandlerProlog(); \
Block* catch_block = assembler.NewBlock(); \
compiler::turboshaft::Block* catch_block = assembler.NewBlock(); \
Name##AssemblerTS::CatchScope catch_scope(assembler, catch_block); \
assembler.Generate##Name##Impl(); \
assembler.EmitEpilog(catch_block); \