From 7af54279b5c4be1e8710532a2d14b82fe307571c Mon Sep 17 00:00:00 2001 From: kxxt Date: Wed, 1 Nov 2023 22:49:28 +0800 Subject: [PATCH] deps: V8: cherry-pick 70caf337c3f6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: [riscv64] Fix the StaticStackFrameSize Update the size to kTierupBudgetOffset. Change-Id: Ibe241211ef67148fae3a4a9eed271f9293ca4801 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3585492 Reviewed-by: ji qiu Commit-Queue: Yahan Lu Auto-Submit: Yahan Lu Cr-Commit-Position: refs/heads/main@{#79978} Refs: https://github.com/v8/v8/commit/70caf337c3f69b16ac9ffec0d9a776aa95f896fc PR-URL: https://github.com/nodejs/node/pull/50506 Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso Reviewed-By: Jiawen Geng --- common.gypi | 2 +- deps/v8/src/wasm/baseline/riscv64/liftoff-assembler-riscv64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.gypi b/common.gypi index 36bfa41701aef3..dba2631f218581 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,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.27', + 'v8_embedder_string': '-node.28', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/src/wasm/baseline/riscv64/liftoff-assembler-riscv64.h b/deps/v8/src/wasm/baseline/riscv64/liftoff-assembler-riscv64.h index 642a7d2a3350c9..8d7ef96f3ad45b 100644 --- a/deps/v8/src/wasm/baseline/riscv64/liftoff-assembler-riscv64.h +++ b/deps/v8/src/wasm/baseline/riscv64/liftoff-assembler-riscv64.h @@ -393,7 +393,7 @@ void LiftoffAssembler::AbortCompilation() { AbortedCodeGeneration(); } // static constexpr int LiftoffAssembler::StaticStackFrameSize() { - return liftoff::kFeedbackVectorOffset; + return liftoff::kTierupBudgetOffset; } int LiftoffAssembler::SlotSizeForType(ValueKind kind) {