Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index 6fbde58f16bcdd409f1c2b2dac9429681a570cf5..9ebe74e058a83127e7c84c46e829f1cab3aae2d0 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 <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); |
} |