Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: include/v8.h

Issue 2108203002: Implement immutable prototype chains (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: reverse bitfield arguments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 80c34e06c37d4d7f4855708264eb48898ac339b5..db584abd6268461810887be6d11de9907b98c5a2 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4833,6 +4833,17 @@ class V8_EXPORT ObjectTemplate : public Template {
*/
void SetInternalFieldCount(int value);
+ /**
+ * Returns true if the object will be an immutable prototype exotic object.
+ */
+ bool ImmutableProto();
jochen (gone - plz use gerrit) 2016/07/01 14:16:09 nit. IsImmutableProto()?
Dan Ehrenberg 2016/07/01 18:51:28 Done
+
+ /**
+ * Makes the ObjectTempate for an immutable prototype exotic object, with an
+ * immutable __proto__.
+ */
+ void SetImmutableProto();
+
private:
ObjectTemplate();
static Local<ObjectTemplate> New(internal::Isolate* isolate,
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698