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

Side by Side 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, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4815 matching lines...) Expand 10 before | Expand all | Expand 10 after
4826 * this template. 4826 * this template.
4827 */ 4827 */
4828 int InternalFieldCount(); 4828 int InternalFieldCount();
4829 4829
4830 /** 4830 /**
4831 * Sets the number of internal fields for objects generated from 4831 * Sets the number of internal fields for objects generated from
4832 * this template. 4832 * this template.
4833 */ 4833 */
4834 void SetInternalFieldCount(int value); 4834 void SetInternalFieldCount(int value);
4835 4835
4836 /**
4837 * Returns true if the object will be an immutable prototype exotic object.
4838 */
4839 bool ImmutableProto();
jochen (gone - plz use gerrit) 2016/07/01 14:16:09 nit. IsImmutableProto()?
Dan Ehrenberg 2016/07/01 18:51:28 Done
4840
4841 /**
4842 * Makes the ObjectTempate for an immutable prototype exotic object, with an
4843 * immutable __proto__.
4844 */
4845 void SetImmutableProto();
4846
4836 private: 4847 private:
4837 ObjectTemplate(); 4848 ObjectTemplate();
4838 static Local<ObjectTemplate> New(internal::Isolate* isolate, 4849 static Local<ObjectTemplate> New(internal::Isolate* isolate,
4839 Local<FunctionTemplate> constructor); 4850 Local<FunctionTemplate> constructor);
4840 friend class FunctionTemplate; 4851 friend class FunctionTemplate;
4841 }; 4852 };
4842 4853
4843 4854
4844 /** 4855 /**
4845 * A Signature specifies which receiver is valid for a function. 4856 * A Signature specifies which receiver is valid for a function.
(...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after
8901 */ 8912 */
8902 8913
8903 8914
8904 } // namespace v8 8915 } // namespace v8
8905 8916
8906 8917
8907 #undef TYPE_CHECK 8918 #undef TYPE_CHECK
8908 8919
8909 8920
8910 #endif // INCLUDE_V8_H_ 8921 #endif // INCLUDE_V8_H_
OLDNEW
« 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