Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index caa21cabe461ca724b19ad47379ee0355f6fdbed..03f85350cb5a8fa23486af5d4fdc08aed05c012c 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -3271,7 +3271,8 @@ void MacroAssembler::PushStackHandler() { |
void MacroAssembler::PopStackHandler() { |
STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0); |
pop(a1); |
- Daddu(sp, sp, Operand(StackHandlerConstants::kSize - kPointerSize)); |
+ Daddu(sp, sp, Operand(static_cast<int64_t>(StackHandlerConstants::kSize - |
+ kPointerSize))); |
li(at, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); |
sd(a1, MemOperand(at)); |
} |