Revision: 16590
Author:   [email protected]
Date:     Mon Sep  9 10:10:26 2013 UTC
Log:      temporarily remove persistent destructor to allow trunk push

[email protected]
BUG=

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

Modified:
 /branches/bleeding_edge/include/v8.h
 /branches/bleeding_edge/test/cctest/test-api.cc

=======================================
--- /branches/bleeding_edge/include/v8.h        Mon Sep  9 09:25:23 2013 UTC
+++ /branches/bleeding_edge/include/v8.h        Mon Sep  9 10:10:26 2013 UTC
@@ -549,9 +549,9 @@
* kResetInDestructor flags in the traits class. Since not calling dispose * can result in a memory leak, it is recommended to always set this flag.
    */
-  V8_INLINE(~Persistent()) {
-    if (M::kResetInDestructor) Reset();
-  }
+//  V8_INLINE(~Persistent()) {
+//    if (M::kResetInDestructor) Reset();
+//  }

   /**
    * If non-empty, destroy the underlying storage cell
=======================================
--- /branches/bleeding_edge/test/cctest/test-api.cc Mon Sep 9 09:25:23 2013 UTC +++ /branches/bleeding_edge/test/cctest/test-api.cc Mon Sep 9 10:10:26 2013 UTC
@@ -12700,7 +12700,7 @@
     CHECK_EQ(initial_handles + 3, globals->global_handles_count());
   }
   // Verify autodispose
-  CHECK_EQ(initial_handles, globals->global_handles_count());
+//  CHECK_EQ(initial_handles, globals->global_handles_count());
 }


--
--
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