Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 9eddbb71c5fdbb6611f90c2eb1f9f79091172042..a9b89cd9539b70631a406c94e4df0065f9084861 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -4825,6 +4825,17 @@ class V8_EXPORT ObjectTemplate : public Template { |
*/ |
void SetInternalFieldCount(int value); |
+ /** |
+ * Returns true if the object will be an immutable prototype exotic object. |
+ */ |
+ bool IsImmutableProto(); |
+ |
+ /** |
+ * Makes the ObjectTempate for an immutable prototype exotic object, with an |
+ * immutable __proto__. |
+ */ |
+ void SetImmutableProto(); |
+ |
private: |
ObjectTemplate(); |
static Local<ObjectTemplate> New(internal::Isolate* isolate, |