From dd72c26ad213a15d5c5168e5fd043e33bb8f9d6e Mon Sep 17 00:00:00 2001 From: "dcarney@chromium.org" Date: Mon, 22 Sep 2014 13:48:12 +0000 Subject: [PATCH] fix compile for arm64 on mavericks R=svenpanne@chromium.org BUG= Review URL: https://codereview.chromium.org/592063002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24121 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm64/simulator-arm64.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/arm64/simulator-arm64.cc b/src/arm64/simulator-arm64.cc index 277275c..129252b 100644 --- a/src/arm64/simulator-arm64.cc +++ b/src/arm64/simulator-arm64.cc @@ -1855,9 +1855,12 @@ void Simulator::LoadStoreWriteBack(unsigned addr_reg, void Simulator::CheckMemoryAccess(uintptr_t address, uintptr_t stack) { if ((address >= stack_limit_) && (address < stack)) { fprintf(stream_, "ACCESS BELOW STACK POINTER:\n"); - fprintf(stream_, " sp is here: 0x%016" PRIx64 "\n", stack); - fprintf(stream_, " access was here: 0x%016" PRIx64 "\n", address); - fprintf(stream_, " stack limit is here: 0x%016" PRIx64 "\n", stack_limit_); + fprintf(stream_, " sp is here: 0x%016" PRIx64 "\n", + static_cast(stack)); + fprintf(stream_, " access was here: 0x%016" PRIx64 "\n", + static_cast(address)); + fprintf(stream_, " stack limit is here: 0x%016" PRIx64 "\n", + static_cast(stack_limit_)); fprintf(stream_, "\n"); FATAL("ACCESS BELOW STACK POINTER"); } -- 2.7.4