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

Unified Diff: src/objects.h

Issue 2449783006: Add a native data property that replaces itself with a real data property (Closed)
Patch Set: updates Created 4 years, 2 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 | « src/api.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 9249d8b3f56cf1cedcb7266cbcecbc364e43dd7a..c10056f56b3ae6acc2273d19afe260e872095565 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -11217,6 +11217,9 @@ class AccessorInfo: public Struct {
inline bool is_special_data_property();
inline void set_is_special_data_property(bool value);
+ inline bool replace_on_access();
+ inline void set_replace_on_access(bool value);
+
inline bool is_sloppy();
inline void set_is_sloppy(bool value);
@@ -11258,7 +11261,8 @@ class AccessorInfo: public Struct {
static const int kAllCanWriteBit = 1;
static const int kSpecialDataProperty = 2;
static const int kIsSloppy = 3;
- class AttributesField : public BitField<PropertyAttributes, 4, 3> {};
+ static const int kReplaceOnAccess = 4;
+ class AttributesField : public BitField<PropertyAttributes, 5, 3> {};
DISALLOW_IMPLICIT_CONSTRUCTORS(AccessorInfo);
};
« no previous file with comments | « src/api.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698