summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-03-13 08:07:55 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-03-13 14:35:00 +0200
commit856ac4ee6fbc56495f32b6097828774ed9b2f687 (patch)
tree15309a2472db2debad5d38e8e22bed92ed4ebde4
parent420978037da841813203591c88545b4958f68979 (diff)
fixup node-12 riscv64 support
Change-Id: I6e2929ca69a1e0089f2118163c56f8f35f5a1ff4
-rw-r--r--gnu/packages/patches/node-12-riscv64-support.patch10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/patches/node-12-riscv64-support.patch b/gnu/packages/patches/node-12-riscv64-support.patch
index 0e36ee64600..94b781a91f2 100644
--- a/gnu/packages/patches/node-12-riscv64-support.patch
+++ b/gnu/packages/patches/node-12-riscv64-support.patch
@@ -10302,10 +10302,10 @@ index 00000000000..aad09378f99
10302+#endif // V8_TARGET_ARCH_RISCV64 10302+#endif // V8_TARGET_ARCH_RISCV64
10303diff --git a/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc 10303diff --git a/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc
10304new file mode 100644 10304new file mode 100644
10305index 00000000000..b27dd88ea80 10305index 00000000000..805205adf20
10306--- /dev/null 10306--- /dev/null
10307+++ b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc 10307+++ b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc
10308@@ -0,0 +1,327 @@ 10308@@ -0,0 +1,329 @@
10309+// Copyright 2021 the V8 project authors. All rights reserved. 10309+// Copyright 2021 the V8 project authors. All rights reserved.
10310+// Use of this source code is governed by a BSD-style license that can be 10310+// Use of this source code is governed by a BSD-style license that can be
10311+// found in the LICENSE file. 10311+// found in the LICENSE file.
@@ -10340,9 +10340,11 @@ index 00000000000..b27dd88ea80
10340+void WasmI64AtomicWaitDescriptor::InitializePlatformSpecific( 10340+void WasmI64AtomicWaitDescriptor::InitializePlatformSpecific(
10341+ CallInterfaceDescriptorData* data) { 10341+ CallInterfaceDescriptorData* data) {
10342+ const Register default_stub_registers[] = {a0, a1, a2, a3}; 10342+ const Register default_stub_registers[] = {a0, a1, a2, a3};
10343+ CHECK_EQ(static_cast<size_t>(kParameterCount - kStackArgumentsCount), 10343+ //CHECK_EQ(static_cast<size_t>(kParameterCount - kStackArgumentsCount),
10344+ CHECK_EQ(static_cast<size_t>(kParameterCount),
10344+ arraysize(default_stub_registers)); 10345+ arraysize(default_stub_registers));
10345+ data->InitializePlatformSpecific(kParameterCount - kStackArgumentsCount, 10346+ //data->InitializePlatformSpecific(kParameterCount - kStackArgumentsCount,
10347+ data->InitializePlatformSpecific(kParameterCount,
10346+ default_stub_registers); 10348+ default_stub_registers);
10347+} 10349+}
10348+ 10350+