Reviewers: Sven Panne,

Message:
PTAL. This should fix:

...\v8\src\effects.h(199): warning C4291: 'void
*v8::internal::ZoneSplayTree<Config>::operator new(size_t,v8::internal::Zone *)' : no matching operator delete found; memory will not be freed if initialization
throws an exception

(Full output:  http://build.chromium.org/p/client.v8/builders/Webkit -
dbg/builds/39/steps/compile/logs/stdio#error1 )

Description:
Pacify Win7 builders

Please review this at https://codereview.chromium.org/22554002/

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

Affected files:
  M src/zone.h


Index: src/zone.h
diff --git a/src/zone.h b/src/zone.h
index a61099c6bf69c1f758b0fc4fbd2c16ad33e9f00b..6ed38d3a5626e0c5168c59345827f91209a9eeaf 100644
--- a/src/zone.h
+++ b/src/zone.h
@@ -249,6 +249,9 @@ class ZoneSplayTree: public SplayTree<Config, ZoneAllocationPolicy> {
   ~ZoneSplayTree();

   INLINE(void* operator new(size_t size, Zone* zone));
+
+  void operator delete(void* pointer) { UNREACHABLE(); }
+  void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); }
 };




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