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
parent b43ebcd8
......@@ -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 <sstream>
#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);
}
......
......@@ -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 <sstream>
#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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment