mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
fixup node-12 riscv64 support
Change-Id: I6e2929ca69a1e0089f2118163c56f8f35f5a1ff4
This commit is contained in:
@@ -10302,10 +10302,10 @@ index 00000000000..aad09378f99
|
||||
+#endif // V8_TARGET_ARCH_RISCV64
|
||||
diff --git a/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc
|
||||
new file mode 100644
|
||||
index 00000000000..b27dd88ea80
|
||||
index 00000000000..805205adf20
|
||||
--- /dev/null
|
||||
+++ b/deps/v8/src/codegen/riscv64/interface-descriptors-riscv64.cc
|
||||
@@ -0,0 +1,327 @@
|
||||
@@ -0,0 +1,329 @@
|
||||
+// Copyright 2021 the V8 project authors. All rights reserved.
|
||||
+// Use of this source code is governed by a BSD-style license that can be
|
||||
+// found in the LICENSE file.
|
||||
@@ -10340,9 +10340,11 @@ index 00000000000..b27dd88ea80
|
||||
+void WasmI64AtomicWaitDescriptor::InitializePlatformSpecific(
|
||||
+ CallInterfaceDescriptorData* data) {
|
||||
+ const Register default_stub_registers[] = {a0, a1, a2, a3};
|
||||
+ CHECK_EQ(static_cast<size_t>(kParameterCount - kStackArgumentsCount),
|
||||
+ //CHECK_EQ(static_cast<size_t>(kParameterCount - kStackArgumentsCount),
|
||||
+ CHECK_EQ(static_cast<size_t>(kParameterCount),
|
||||
+ arraysize(default_stub_registers));
|
||||
+ data->InitializePlatformSpecific(kParameterCount - kStackArgumentsCount,
|
||||
+ //data->InitializePlatformSpecific(kParameterCount - kStackArgumentsCount,
|
||||
+ data->InitializePlatformSpecific(kParameterCount,
|
||||
+ default_stub_registers);
|
||||
+}
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user