From 8c56583573d0f0206afebcb29653322ba9c73367 Mon Sep 17 00:00:00 2001 From: "akos.palfi@imgtec.com" Date: Tue, 16 Sep 2014 20:16:11 +0000 Subject: [PATCH] MIPS64: Fixed int vs. uintptr_t confusion (plus some cleanup on the way). Port r23966 (a498d5e3) BUG= R=jkummerow@chromium.org, paul.lind@imgtec.com Review URL: https://codereview.chromium.org/570563006 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23986 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-platform.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cctest/test-platform.cc b/test/cctest/test-platform.cc index 2138687..100a5a7 100644 --- a/test/cctest/test-platform.cc +++ b/test/cctest/test-platform.cc @@ -22,6 +22,8 @@ void GetStackPointer(const v8::FunctionCallbackInfo& args) { __asm__ __volatile__("mov x16, sp; str x16, %0" : "=g"(sp_addr)); #elif V8_HOST_ARCH_MIPS __asm__ __volatile__("sw $sp, %0" : "=g"(sp_addr)); +#elif V8_HOST_ARCH_MIPS64 + __asm__ __volatile__("sd $sp, %0" : "=g"(sp_addr)); #else #error Host architecture was not detected as supported by v8 #endif -- 2.7.4