fix compilation error on mipsel target
authorJérémy Lal <kapouer@melix.org>
Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)
committerJérémy Lal <kapouer@melix.org>
Mon, 13 Jun 2022 07:11:34 +0000 (08:11 +0100)
Last-Update: 2021-10-28
Forwarded: https://github.com/nodejs/node/issues/40624

Gbp-Pq: Topic mips
Gbp-Pq: Name compilation_error.patch

deps/v8/src/compiler/backend/mips/code-generator-mips.cc

index 2b8197e7e64a06c8606e2f1a641e1e024c91c698..99d8104744104a21a6cafbe2bcc8956a821744e5 100644 (file)
@@ -4230,7 +4230,7 @@ void CodeGenerator::AssembleReturn(InstructionOperand* additional_pop_count) {
     } 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).