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

Side by Side Diff: src/objects.h

Issue 1600923002: [runtime] Stop cloning AccessorInfo, just rely on PropertyAttributes for readonly. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 | « src/accessors.cc ('k') | src/objects.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 10178 matching lines...) Expand 10 before | Expand all | Expand 10 after
10189 DECL_ACCESSORS(name, Object) 10189 DECL_ACCESSORS(name, Object)
10190 DECL_INT_ACCESSORS(flag) 10190 DECL_INT_ACCESSORS(flag)
10191 DECL_ACCESSORS(expected_receiver_type, Object) 10191 DECL_ACCESSORS(expected_receiver_type, Object)
10192 DECL_ACCESSORS(getter, Object) 10192 DECL_ACCESSORS(getter, Object)
10193 DECL_ACCESSORS(setter, Object) 10193 DECL_ACCESSORS(setter, Object)
10194 DECL_ACCESSORS(data, Object) 10194 DECL_ACCESSORS(data, Object)
10195 10195
10196 // Dispatched behavior. 10196 // Dispatched behavior.
10197 DECLARE_PRINTER(AccessorInfo) 10197 DECLARE_PRINTER(AccessorInfo)
10198 10198
10199 static void ClearSetter(Handle<AccessorInfo> info);
10200
10201 inline bool all_can_read(); 10199 inline bool all_can_read();
10202 inline void set_all_can_read(bool value); 10200 inline void set_all_can_read(bool value);
10203 10201
10204 inline bool all_can_write(); 10202 inline bool all_can_write();
10205 inline void set_all_can_write(bool value); 10203 inline void set_all_can_write(bool value);
10206 10204
10207 inline bool is_special_data_property(); 10205 inline bool is_special_data_property();
10208 inline void set_is_special_data_property(bool value); 10206 inline void set_is_special_data_property(bool value);
10209 10207
10210 inline PropertyAttributes property_attributes(); 10208 inline PropertyAttributes property_attributes();
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
10723 } 10721 }
10724 return value; 10722 return value;
10725 } 10723 }
10726 }; 10724 };
10727 10725
10728 10726
10729 } // NOLINT, false-positive due to second-order macros. 10727 } // NOLINT, false-positive due to second-order macros.
10730 } // NOLINT, false-positive due to second-order macros. 10728 } // NOLINT, false-positive due to second-order macros.
10731 10729
10732 #endif // V8_OBJECTS_H_ 10730 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698