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

Side by Side Diff: src/objects.h

Issue 799723003: StoreMode enum values renamed. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 6 years 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/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 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 #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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 236
237 enum IcCheckType { ELEMENT, PROPERTY }; 237 enum IcCheckType { ELEMENT, PROPERTY };
238 238
239 239
240 // Setter that skips the write barrier if mode is SKIP_WRITE_BARRIER. 240 // Setter that skips the write barrier if mode is SKIP_WRITE_BARRIER.
241 enum WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER }; 241 enum WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER };
242 242
243 243
244 // Indicates whether a value can be loaded as a constant. 244 // Indicates whether a value can be loaded as a constant.
245 enum StoreMode { 245 enum StoreMode { ALLOW_IN_DESCRIPTOR, FORCE_IN_OBJECT };
246 ALLOW_AS_CONSTANT,
247 FORCE_FIELD
248 };
249 246
250 247
251 // PropertyNormalizationMode is used to specify whether to keep 248 // PropertyNormalizationMode is used to specify whether to keep
252 // inobject properties when normalizing properties of a JSObject. 249 // inobject properties when normalizing properties of a JSObject.
253 enum PropertyNormalizationMode { 250 enum PropertyNormalizationMode {
254 CLEAR_INOBJECT_PROPERTIES, 251 CLEAR_INOBJECT_PROPERTIES,
255 KEEP_INOBJECT_PROPERTIES 252 KEEP_INOBJECT_PROPERTIES
256 }; 253 };
257 254
258 255
(...skipping 10784 matching lines...) Expand 10 before | Expand all | Expand 10 after
11043 } else { 11040 } else {
11044 value &= ~(1 << bit_position); 11041 value &= ~(1 << bit_position);
11045 } 11042 }
11046 return value; 11043 return value;
11047 } 11044 }
11048 }; 11045 };
11049 11046
11050 } } // namespace v8::internal 11047 } } // namespace v8::internal
11051 11048
11052 #endif // V8_OBJECTS_H_ 11049 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698