Reviewers: Jakob,
Description:
Try to make MSVC happy about EscapableHandleScope.
R=jkumme...@chromium.org
Please review this at https://codereview.chromium.org/25077002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+7, -0 lines):
M include/v8.h
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index
70e64a2285f474573009210382dc80eb51402391..19abf0fb543a1b2c12c52b6d0aebba75cd2a8fa1
100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -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_;
};
--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.