From 6d6c4fa696a5f3981819f4d029fc9a87ba2b5c81 Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Mon, 26 Oct 2009 11:59:55 +0000 Subject: [PATCH] Fix retainer profile test regression TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/338014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap-profiler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc index 4f9456e174..7f7cd7f169 100644 --- a/src/heap-profiler.cc +++ b/src/heap-profiler.cc @@ -148,7 +148,7 @@ class ReferencesExtractor : public ObjectVisitor { inside_array_ = true; FixedArray::cast(*o)->Iterate(this); inside_array_ = false; - } else { + } else if ((*o)->IsHeapObject()) { profile_->StoreReference(cluster_, HeapObject::cast(*o)); } }