From cb55675a000019590ffd712bc838e5a3ed983c69 Mon Sep 17 00:00:00 2001 From: svenpanne Date: Fri, 22 May 2015 01:24:41 -0700 Subject: [PATCH] Unbreak %DebugPrint output. Review URL: https://codereview.chromium.org/1155773003 Cr-Commit-Position: refs/heads/master@{#28572} --- src/runtime/runtime-test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc index e115ba9..8485dfd 100644 --- a/src/runtime/runtime-test.cc +++ b/src/runtime/runtime-test.cc @@ -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(frame->fp()) + << ", sp = " << static_cast(frame->sp()) + << ", caller_sp = " << static_cast(frame->caller_sp()) << ": "; } else { os << "DebugPrint: "; } -- 2.7.4