forked from pool/nodejs-electron
27 lines
827 B
Diff
27 lines
827 B
Diff
|
--- src/v8/src/codegen/riscv/macro-assembler-riscv.h.orig 2025-04-24 18:27:30.451008724 +0200
|
||
|
+++ src/v8/src/codegen/riscv/macro-assembler-riscv.h 2025-04-24 23:48:27.554835902 +0200
|
||
|
@@ -400,10 +400,7 @@ class V8_EXPORT_PRIVATE MacroAssembler :
|
||
|
push_helper(rs...);
|
||
|
}
|
||
|
|
||
|
- template <>
|
||
|
- void push_helper(Register r) {
|
||
|
- StoreWord(r, MemOperand(sp, 0));
|
||
|
- }
|
||
|
+ void push_helper() {}
|
||
|
|
||
|
public:
|
||
|
// Push a number of registers. The leftmost register first (to the highest
|
||
|
@@ -548,10 +545,7 @@ class V8_EXPORT_PRIVATE MacroAssembler :
|
||
|
LoadWord(r, MemOperand(sp, sizeof...(rs) * kSystemPointerSize));
|
||
|
}
|
||
|
|
||
|
- template <>
|
||
|
- void pop_helper(Register r) {
|
||
|
- LoadWord(r, MemOperand(sp, 0));
|
||
|
- }
|
||
|
+ void pop_helper() {}
|
||
|
|
||
|
public:
|
||
|
// Pop a number of registers. The leftmost register last (from the highest
|