Unbreak %DebugPrint output.
authorsvenpanne <svenpanne@chromium.org>
Fri, 22 May 2015 08:24:41 +0000 (01:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 22 May 2015 08:24:33 +0000 (08:24 +0000)
Review URL: https://codereview.chromium.org/1155773003

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

src/runtime/runtime-test.cc

index e115ba9..8485dfd 100644 (file)
@@ -278,8 +278,9 @@ RUNTIME_FUNCTION(Runtime_DebugPrint) {
     // and print some interesting cpu debugging info.
     JavaScriptFrameIterator it(isolate);
     JavaScriptFrame* frame = it.frame();
-    os << "fp = " << frame->fp() << ", sp = " << frame->sp()
-       << ", caller_sp = " << frame->caller_sp() << ": ";
+    os << "fp = " << static_cast<void*>(frame->fp())
+       << ", sp = " << static_cast<void*>(frame->sp())
+       << ", caller_sp = " << static_cast<void*>(frame->caller_sp()) << ": ";
   } else {
     os << "DebugPrint: ";
   }