Revision: 11534
Author:   [email protected]
Date:     Wed May  9 08:49:03 2012
Log:      Fix formatting.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/10356075
http://code.google.com/p/v8/source/detail?r=11534

Modified:
 /branches/bleeding_edge/src/profile-generator.cc

=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Wed May 9 07:34:13 2012 +++ /branches/bleeding_edge/src/profile-generator.cc Wed May 9 08:49:03 2012
@@ -931,12 +931,11 @@
 }


-HeapGraphEdge::HeapGraphEdge(
-    Type type, const char* name, int from, int to) :
-    type_(type),
-    from_index_(from),
-    to_index_(to),
-    name_(name) {
+HeapGraphEdge::HeapGraphEdge(Type type, const char* name, int from, int to)
+    : type_(type),
+      from_index_(from),
+      to_index_(to),
+      name_(name) {
   ASSERT(type == kContextVariable
       || type == kProperty
       || type == kInternal
@@ -944,11 +943,11 @@
 }


-HeapGraphEdge::HeapGraphEdge(Type type, int index, int from, int to) :
-    type_(type),
-    from_index_(from),
-    to_index_(to),
-    index_(index) {
+HeapGraphEdge::HeapGraphEdge(Type type, int index, int from, int to)
+    : type_(type),
+      from_index_(from),
+      to_index_(to),
+      index_(index) {
   ASSERT(type == kElement || type == kHidden || type == kWeak);
 }

@@ -964,20 +963,20 @@
                      Type type,
                      const char* name,
                      SnapshotObjectId id,
-                     int self_size) :
-    painted_(false),
-    user_reachable_(false),
-    dominator_(kNoEntry),
-    type_(type),
-    retainers_count_(0),
-    retainers_index_(-1),
-    children_count_(0),
-    children_index_(-1),
-    self_size_(self_size),
-    retained_size_(0),
-    id_(id),
-    snapshot_(snapshot),
-    name_(name) { }
+                     int self_size)
+    : painted_(false),
+      user_reachable_(false),
+      dominator_(kNoEntry),
+      type_(type),
+      retainers_count_(0),
+      retainers_index_(-1),
+      children_count_(0),
+      children_index_(-1),
+      self_size_(self_size),
+      retained_size_(0),
+      id_(id),
+      snapshot_(snapshot),
+      name_(name) { }


 void HeapEntry::SetNamedReference(HeapGraphEdge::Type type,
@@ -1275,7 +1274,7 @@


 template<typename T, class P>
-static size_t GetMemoryUsedByList(const List<T,P>& list) {
+static size_t GetMemoryUsedByList(const List<T, P>& list) {
   return list.capacity() * sizeof(T);
 }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to