Revision: 25251
Author:   [email protected]
Date:     Mon Nov 10 16:54:55 2014 UTC
Log:      Fixes for Windows and Mac builds after r25250.

[email protected]
[email protected]

Review URL: https://codereview.chromium.org/717573002
https://code.google.com/p/v8/source/detail?r=25251

Modified:
 /branches/bleeding_edge/src/layout-descriptor-inl.h
 /branches/bleeding_edge/src/layout-descriptor.h
 /branches/bleeding_edge/src/objects-inl.h
 /branches/bleeding_edge/src/string-stream.cc

=======================================
--- /branches/bleeding_edge/src/layout-descriptor-inl.h Mon Nov 10 16:34:30 2014 UTC +++ /branches/bleeding_edge/src/layout-descriptor-inl.h Mon Nov 10 16:54:55 2014 UTC
@@ -153,7 +153,6 @@
 InobjectPropertiesHelper::InobjectPropertiesHelper(Map* map)
     : all_fields_tagged_(true),
       header_size_(0),
-      inobject_properties_count_(0),
       layout_descriptor_(LayoutDescriptor::FastPointerLayout()) {
   if (!FLAG_unbox_double_fields) return;

=======================================
--- /branches/bleeding_edge/src/layout-descriptor.h Mon Nov 10 16:34:30 2014 UTC +++ /branches/bleeding_edge/src/layout-descriptor.h Mon Nov 10 16:54:55 2014 UTC
@@ -118,7 +118,6 @@
  private:
   bool all_fields_tagged_;
   int header_size_;
-  int inobject_properties_count_;
   LayoutDescriptor* layout_descriptor_;
 };
 }
=======================================
--- /branches/bleeding_edge/src/objects-inl.h   Mon Nov 10 16:34:30 2014 UTC
+++ /branches/bleeding_edge/src/objects-inl.h   Mon Nov 10 16:54:55 2014 UTC
@@ -7378,9 +7378,10 @@
 }


-static void IterateBodyUsingLayoutDescriptor(HeapObject* object,
- int start_offset, int end_offset,
-                                             ObjectVisitor* v) {
+static inline void IterateBodyUsingLayoutDescriptor(HeapObject* object,
+                                                    int start_offset,
+                                                    int end_offset,
+                                                    ObjectVisitor* v) {
   DCHECK(FLAG_unbox_double_fields);
   DCHECK(IsAligned(start_offset, kPointerSize) &&
          IsAligned(end_offset, kPointerSize));
=======================================
--- /branches/bleeding_edge/src/string-stream.cc Mon Nov 10 16:34:30 2014 UTC +++ /branches/bleeding_edge/src/string-stream.cc Mon Nov 10 16:54:55 2014 UTC
@@ -353,7 +353,7 @@
         FieldIndex index = FieldIndex::ForDescriptor(map, i);
         if (js_object->IsUnboxedDoubleField(index)) {
           double value = js_object->RawFastDoublePropertyAt(index);
-          Add("<unboxed double> %.16g\n", value);
+          Add("<unboxed double> %.16g\n", FmtElm(value));
         } else {
           Object* value = js_object->RawFastPropertyAt(index);
           Add("%o\n", value);

--
--
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