Revision: 14447
Author:   [email protected]
Date:     Fri Apr 26 01:12:21 2013
Log:      Prevent false positive from GCMole in DeferredFormatStackTrace.

[email protected]
TEST=gcmole

Review URL: https://codereview.chromium.org/14416010
http://code.google.com/p/v8/source/detail?r=14447

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

=======================================
--- /branches/bleeding_edge/src/heap.cc Fri Apr 26 00:35:07 2013
+++ /branches/bleeding_edge/src/heap.cc Fri Apr 26 01:12:21 2013
@@ -7705,7 +7705,8 @@
       if (!getter_obj->IsJSFunction()) continue;
       getter_fun = JSFunction::cast(getter_obj);
       String* key = isolate->heap()->hidden_stack_trace_string();
-      if (key != getter_fun->GetHiddenProperty(key)) continue;
+      Object* value = getter_fun->GetHiddenProperty(key);
+      if (key != value) continue;
     }

     budget--;

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to