Another round of MSVC fixes.

TBR=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/378533002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22237 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 251ae221
...@@ -190,7 +190,7 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { ...@@ -190,7 +190,7 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) {
function->end_position() - function->start_position() + 1; function->end_position() - function->start_position() + 1;
for (int i = 0; i < source_len; i++) { for (int i = 0; i < source_len; i++) {
if (stream.HasMore()) { if (stream.HasMore()) {
os.put(stream.GetNext()); os << AsUC16(stream.GetNext());
} }
} }
os << "\n\n"; os << "\n\n";
......
...@@ -55,7 +55,7 @@ class SideEffects V8_FINAL { ...@@ -55,7 +55,7 @@ class SideEffects V8_FINAL {
}; };
class TrackedEffects; struct TrackedEffects;
// Tracks global variable and inobject field loads/stores in a fine grained // Tracks global variable and inobject field loads/stores in a fine grained
// fashion, and represents them using the "special" dynamic side effects of the // fashion, and represents them using the "special" dynamic side effects of the
......
...@@ -3458,7 +3458,7 @@ int HGraph::TraceInlinedFunction( ...@@ -3458,7 +3458,7 @@ int HGraph::TraceInlinedFunction(
shared->end_position() - shared->start_position() + 1; shared->end_position() - shared->start_position() + 1;
for (int i = 0; i < source_len; i++) { for (int i = 0; i < source_len; i++) {
if (stream.HasMore()) { if (stream.HasMore()) {
os.put(stream.GetNext()); os << AsUC16(stream.GetNext());
} }
} }
} }
......
...@@ -591,7 +591,7 @@ void String::StringPrint(OStream& os) { // NOLINT ...@@ -591,7 +591,7 @@ void String::StringPrint(OStream& os) { // NOLINT
} }
} }
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
os.put(Get(i)); os << AsUC16(Get(i));
} }
if (len != length()) { if (len != length()) {
os << truncated_epilogue; os << truncated_epilogue;
......
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