Chromium Code Reviews

Unified Diff: src/objects-printer.cc

Issue 378533002: Another round of MSVC fixes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Struct Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/hydrogen-gvn.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index dace8d10744d5310f3a01a147563dea467695e9f..e6b2e6b24b78034f7211759c6a59f50819e4d477 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -591,7 +591,7 @@ void String::StringPrint(OStream& os) { // NOLINT
}
}
for (int i = 0; i < len; i++) {
- os.put(Get(i));
+ os << AsUC16(Get(i));
}
if (len != length()) {
os << truncated_epilogue;
« no previous file with comments | « src/hydrogen-gvn.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine