Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 502b046927f45b112fab3492bef3628f426b4ea5..83cf52b550cdf028f02f578c2bc8e2243e87a1ea 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.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" |
#include "src/arm64/lithium-codegen-arm64.h" |
@@ -282,9 +284,9 @@ void LStoreKeyedGeneric::PrintDataTo(StringStream* stream) { |
void LStoreNamedField::PrintDataTo(StringStream* stream) { |
object()->PrintTo(stream); |
- OStringStream os; |
+ std::ostringstream os; |
os << hydrogen()->access(); |
- stream->Add(os.c_str()); |
+ stream->Add(os.str().c_str()); |
stream->Add(" <- "); |
value()->PrintTo(stream); |
} |