MIPS64: Unbreak cross build.
authordusan.milosavljevic <dusan.milosavljevic@imgtec.com>
Wed, 8 Apr 2015 12:53:49 +0000 (05:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Apr 2015 12:53:52 +0000 (12:53 +0000)
TEST=
BUG=

Review URL: https://codereview.chromium.org/1066403002

Cr-Commit-Position: refs/heads/master@{#27665}

src/mips64/macro-assembler-mips64.cc

index caa21cabe461ca724b19ad47379ee0355f6fdbed..03f85350cb5a8fa23486af5d4fdc08aed05c012c 100644 (file)
@@ -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));
 }