aboutsummaryrefslogtreecommitdiff
path: root/lang/node/patches/999-cast_for_mips32.patch
blob: a83157b80232036aa59e64328b802ccc5d0192fe (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
+++ b/deps/v8/src/compiler/backend/mips/code-generator-mips.cc
@@ -4103,7 +4103,7 @@ void CodeGenerator::AssembleReturn(Instr
     } else if (FLAG_debug_code) {
       __ Assert(eq, AbortReason::kUnexpectedAdditionalPopValue,
                 g.ToRegister(additional_pop_count),
-                Operand(static_cast<int64_t>(0)));
+                Operand(static_cast<int32_t>(0)));
     }
   }
   // Functions with JS linkage have at least one parameter (the receiver).