Revision: 5307
Author: [email protected]
Date: Thu Aug 19 06:28:28 2010
Log: Remove unused function.

Review URL: http://codereview.chromium.org/3107022
http://code.google.com/p/v8/source/detail?r=5307

Modified:
 /branches/bleeding_edge/src/objects.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/objects.cc      Wed Aug 18 06:00:38 2010
+++ /branches/bleeding_edge/src/objects.cc      Thu Aug 19 06:28:28 2010
@@ -1114,11 +1114,6 @@
       UNREACHABLE();
   }
 }
-
-
-void HeapObject::IterateStructBody(int object_size, ObjectVisitor* v) {
-  IteratePointers(v, HeapObject::kHeaderSize, object_size);
-}


 Object* HeapNumber::HeapNumberToBoolean() {
=======================================
--- /branches/bleeding_edge/src/objects.h       Wed Aug 18 06:00:38 2010
+++ /branches/bleeding_edge/src/objects.h       Thu Aug 19 06:28:28 2010
@@ -1022,10 +1022,6 @@
   // object, and so is safe to call while the map pointer is modified.
   void IterateBody(InstanceType type, int object_size, ObjectVisitor* v);

- // This method only applies to struct objects. Iterates over all the fields
-  // of this struct.
-  void IterateStructBody(int object_size, ObjectVisitor* v);
-
   // Returns the heap object's size in bytes
   inline int Size();

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

Reply via email to