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

Side by Side Diff: src/map-updater.h

Issue 2591233002: [runtime] Add PropertyConstness bit to PropertyDetails. (Closed)
Patch Set: Addressed comments, used better name: IsGeneralizableTo Created 3 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/lookup.cc ('k') | src/map-updater.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 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_MAP_RECONFIGURER_H_ 5 #ifndef V8_MAP_RECONFIGURER_H_
6 #define V8_MAP_RECONFIGURER_H_ 6 #define V8_MAP_RECONFIGURER_H_
7 7
8 #include "src/elements-kind.h" 8 #include "src/elements-kind.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/handles.h" 10 #include "src/handles.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 int old_nof_; 150 int old_nof_;
151 151
152 State state_ = kInitialized; 152 State state_ = kInitialized;
153 ElementsKind new_elements_kind_; 153 ElementsKind new_elements_kind_;
154 154
155 // If |modified_descriptor_| is not equal to -1 them the fields below form 155 // If |modified_descriptor_| is not equal to -1 them the fields below form
156 // an "update" of the |old_map_|'s descriptors. 156 // an "update" of the |old_map_|'s descriptors.
157 int modified_descriptor_ = -1; 157 int modified_descriptor_ = -1;
158 PropertyKind new_kind_ = kData; 158 PropertyKind new_kind_ = kData;
159 PropertyAttributes new_attributes_ = NONE; 159 PropertyAttributes new_attributes_ = NONE;
160 PropertyConstness new_constness_ = kMutable;
160 PropertyLocation new_location_ = kField; 161 PropertyLocation new_location_ = kField;
161 Representation new_representation_ = Representation::None(); 162 Representation new_representation_ = Representation::None();
162 163
163 // Data specific to kField location. 164 // Data specific to kField location.
164 Handle<FieldType> new_field_type_; 165 Handle<FieldType> new_field_type_;
165 166
166 // Data specific to kDescriptor location. 167 // Data specific to kDescriptor location.
167 Handle<Object> new_value_; 168 Handle<Object> new_value_;
168 }; 169 };
169 170
170 } // namespace internal 171 } // namespace internal
171 } // namespace v8 172 } // namespace v8
172 173
173 #endif // V8_MAP_RECONFIGURER_H_ 174 #endif // V8_MAP_RECONFIGURER_H_
OLDNEW
« no previous file with comments | « src/lookup.cc ('k') | src/map-updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698