Try to make MSVC happy about EscapableHandleScope.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Sep 2013 15:32:26 +0000 (15:32 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 27 Sep 2013 15:32:26 +0000 (15:32 +0000)
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/25077002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

include/v8.h

index 864f5d2..f66df8b 100644 (file)
@@ -859,6 +859,13 @@ class V8_EXPORT EscapableHandleScope : public HandleScope {
  private:
   internal::Object** Escape(internal::Object** escape_value);
 
+  // Make it hard to create heap-allocated or illegal handle scopes by
+  // disallowing certain operations.
+  EscapableHandleScope(const EscapableHandleScope&);
+  void operator=(const EscapableHandleScope&);
+  void* operator new(size_t size);
+  void operator delete(void*, size_t);
+
   internal::Object** escape_slot_;
 };