Reviewers: Benedikt Meurer,

Message:
Committed patchset #2 manually as r22237 (presubmit successful).

Description:
Another round of MSVC fixes.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=22237

Please review this at https://codereview.chromium.org/378533002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -4 lines):
  M src/codegen.cc
  M src/hydrogen.cc
  M src/hydrogen-gvn.h
  M src/objects-printer.cc


Index: src/codegen.cc
diff --git a/src/codegen.cc b/src/codegen.cc
index 40b47960c4111e62d5ed333500ffc63ed04bd7f3..7b101af7be0f11015300901de812a38e1fe719ef 100644
--- a/src/codegen.cc
+++ b/src/codegen.cc
@@ -190,7 +190,7 @@ void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) {
             function->end_position() - function->start_position() + 1;
         for (int i = 0; i < source_len; i++) {
           if (stream.HasMore()) {
-            os.put(stream.GetNext());
+            os << AsUC16(stream.GetNext());
           }
         }
         os << "\n\n";
Index: src/hydrogen-gvn.h
diff --git a/src/hydrogen-gvn.h b/src/hydrogen-gvn.h
index 11f4a3859728f4ef35141dfe113d94b1ea6ff8f9..71a7a2f85670483ff7bec1bba48cbcadcf1b5598 100644
--- a/src/hydrogen-gvn.h
+++ b/src/hydrogen-gvn.h
@@ -55,7 +55,7 @@ class SideEffects V8_FINAL {
 };


-class TrackedEffects;
+struct TrackedEffects;

 // Tracks global variable and inobject field loads/stores in a fine grained
// fashion, and represents them using the "special" dynamic side effects of the
Index: src/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index 9b6e3fc4e1f5f482c2d50c8862a8058703b9595e..1360a3c5f49411da20707a565d55d0ed7c254ae6 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -3458,7 +3458,7 @@ int HGraph::TraceInlinedFunction(
               shared->end_position() - shared->start_position() + 1;
           for (int i = 0; i < source_len; i++) {
             if (stream.HasMore()) {
-              os.put(stream.GetNext());
+              os << AsUC16(stream.GetNext());
             }
           }
         }
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;


--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to