File: compilation_error.patch

package info (click to toggle)
nodejs 18.20.4%2Bdfsg-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 416,132 kB
  • sloc: perl: 1,766,352; cpp: 1,167,027; ansic: 634,245; asm: 576,575; javascript: 536,356; python: 76,986; sh: 8,334; makefile: 2,929; f90: 641; lisp: 480; xml: 36; awk: 18; ruby: 14; sed: 6
file content (15 lines) | stat: -rw-r--r-- 661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: fix compilation error on mipsel target
Author: Jérémy Lal <kapouer@melix.org>
Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624
--- a/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
+++ b/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
@@ -4101,7 +4101,7 @@
     } else if (FLAG_debug_code) {
       __ Assert(eq, AbortReason::kUnexpectedAdditionalPopValue,
                 g.ToRegister(additional_pop_count),
-                Operand(static_cast<int64_t>(0)));
+                Operand(static_cast<int>(0)));
     }
   }
   // Functions with JS linkage have at least one parameter (the receiver).