From: balazs.kilvady@imgtec.com Date: Tue, 30 Sep 2014 14:37:59 +0000 (+0000) Subject: MIPS: Replace OStream with std::ostream. X-Git-Tag: upstream/4.7.83~6609 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95525a220b6698d0f2bf52d5c0cadc642d6e0f2b;p=platform%2Fupstream%2Fv8.git MIPS: Replace OStream with std::ostream. Port r24319 (b4a085f) BUG= R=akos.palfi@imgtec.com Review URL: https://codereview.chromium.org/615013002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc index 3f95d4b..7002ca4 100644 --- a/src/mips/lithium-mips.cc +++ b/src/mips/lithium-mips.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include + #include "src/v8.h" #if V8_TARGET_ARCH_MIPS @@ -325,7 +327,7 @@ void LStoreNamedField::PrintDataTo(StringStream* stream) { object()->PrintTo(stream); std::ostringstream os; os << hydrogen()->access() << " <- "; - stream->Add(os.c_str()); + stream->Add(os.str().c_str()); value()->PrintTo(stream); } diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc index 6fbde58..9ebe74e 100644 --- a/src/mips64/lithium-mips64.cc +++ b/src/mips64/lithium-mips64.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include + #include "src/v8.h" #if V8_TARGET_ARCH_MIPS64 @@ -325,7 +327,7 @@ void LStoreNamedField::PrintDataTo(StringStream* stream) { object()->PrintTo(stream); std::ostringstream os; os << hydrogen()->access() << " <- "; - stream->Add(os.c_str()); + stream->Add(os.str().c_str()); value()->PrintTo(stream); }