Revision: 2961 Author: [email protected] Date: Wed Sep 23 06:32:11 2009 Log: Reverting 2950.
It causes test shell test failures. Review URL: http://codereview.chromium.org/222004 http://code.google.com/p/v8/source/detail?r=2961 Modified: /branches/bleeding_edge/src/heap-profiler.cc ======================================= --- /branches/bleeding_edge/src/heap-profiler.cc Tue Sep 22 03:02:42 2009 +++ /branches/bleeding_edge/src/heap-profiler.cc Wed Sep 23 06:32:11 2009 @@ -67,10 +67,9 @@ 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); --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
