From 28772fbc57b0d54fa25b1672e2c5aed3a42eb1d8 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Wed, 23 Sep 2009 13:32:11 +0000 Subject: [PATCH] Reverting 2950. It causes test shell test failures. Review URL: http://codereview.chromium.org/222004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2961 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap-profiler.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc index c1122c4..5e945b4 100644 --- a/src/heap-profiler.cc +++ b/src/heap-profiler.cc @@ -67,10 +67,9 @@ JSObjectsCluster Clusterizer::Clusterize(HeapObject* obj, bool fine_grain) { if (obj->IsJSObject()) { JSObject* js_obj = JSObject::cast(obj); String* constructor = JSObject::cast(js_obj)->constructor_name(); - // Differentiate Array, Function, and Object instances. + // Differentiate Object and Array instances. if (fine_grain && (constructor == Heap::Object_symbol() || - constructor == Heap::Array_symbol() || - constructor == Heap::function_class_symbol())) { + constructor == Heap::Array_symbol())) { return JSObjectsCluster(constructor, obj); } else { return JSObjectsCluster(constructor); -- 2.7.4