Revision: 3126
Author: [email protected]
Date: Mon Oct 26 04:59:55 2009
Log: Fix retainer profile test regression

[email protected]

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

Modified:
  /branches/bleeding_edge/src/heap-profiler.cc

=======================================
--- /branches/bleeding_edge/src/heap-profiler.cc        Mon Oct 26 03:51:30 2009
+++ /branches/bleeding_edge/src/heap-profiler.cc        Mon Oct 26 04:59:55 2009
@@ -148,7 +148,7 @@
        inside_array_ = true;
        FixedArray::cast(*o)->Iterate(this);
        inside_array_ = false;
-    } else {
+    } else if ((*o)->IsHeapObject()) {
        profile_->StoreReference(cluster_, HeapObject::cast(*o));
      }
    }

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

Reply via email to