Revision: 24332
Author:   balazs.kilv...@imgtec.com
Date:     Tue Sep 30 14:37:59 2014 UTC
Log:      MIPS: Replace OStream with std::ostream.

Port r24319 (b4a085f)

BUG=
R=akos.pa...@imgtec.com

Review URL: https://codereview.chromium.org/615013002
https://code.google.com/p/v8/source/detail?r=24332

Modified:
 /branches/bleeding_edge/src/mips/lithium-mips.cc
 /branches/bleeding_edge/src/mips64/lithium-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Tue Sep 30 10:29:32 2014 UTC +++ /branches/bleeding_edge/src/mips/lithium-mips.cc Tue Sep 30 14:37:59 2014 UTC
@@ -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 @@
   object()->PrintTo(stream);
   std::ostringstream os;
   os << hydrogen()->access() << " <- ";
-  stream->Add(os.c_str());
+  stream->Add(os.str().c_str());
   value()->PrintTo(stream);
 }

=======================================
--- /branches/bleeding_edge/src/mips64/lithium-mips64.cc Tue Sep 30 10:29:32 2014 UTC +++ /branches/bleeding_edge/src/mips64/lithium-mips64.cc Tue Sep 30 14:37:59 2014 UTC
@@ -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 @@
   object()->PrintTo(stream);
   std::ostringstream os;
   os << hydrogen()->access() << " <- ";
-  stream->Add(os.c_str());
+  stream->Add(os.str().c_str());
   value()->PrintTo(stream);
 }

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to