Reviewers: Mikhail Naganov,

Description:
Reverting 2950.

Please review this at http://codereview.chromium.org/222004

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/heap-profiler.cc


Index: src/heap-profiler.cc
===================================================================
--- src/heap-profiler.cc        (revision 2960)
+++ src/heap-profiler.cc        (working copy)
@@ -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
-~----------~----~----~----~------~----~------~--~---

Reply via email to