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

Side by Side Diff: src/property-details.h

Issue 2061173002: [cleanup] Remove dead code from DeclareLookupSlot and rename it (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handled review comments Created 4 years, 6 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/parsing/parser.cc ('k') | src/runtime/runtime.h » ('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_PROPERTY_DETAILS_H_ 5 #ifndef V8_PROPERTY_DETAILS_H_
6 #define V8_PROPERTY_DETAILS_H_ 6 #define V8_PROPERTY_DETAILS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/utils.h" 10 #include "src/utils.h"
(...skipping 10 matching lines...) Expand all
21 21
22 ALL_ATTRIBUTES_MASK = READ_ONLY | DONT_ENUM | DONT_DELETE, 22 ALL_ATTRIBUTES_MASK = READ_ONLY | DONT_ENUM | DONT_DELETE,
23 23
24 SEALED = DONT_DELETE, 24 SEALED = DONT_DELETE,
25 FROZEN = SEALED | READ_ONLY, 25 FROZEN = SEALED | READ_ONLY,
26 26
27 ABSENT = 64, // Used in runtime to indicate a property is absent. 27 ABSENT = 64, // Used in runtime to indicate a property is absent.
28 // ABSENT can never be stored in or returned from a descriptor's attributes 28 // ABSENT can never be stored in or returned from a descriptor's attributes
29 // bitfield. It is only used as a return value meaning the attributes of 29 // bitfield. It is only used as a return value meaning the attributes of
30 // a non-existent property. 30 // a non-existent property.
31
32 // When creating a property, EVAL_DECLARED used to indicate that the property
33 // came from a sloppy-mode direct eval, and certain checks need to be done.
34 // Cannot be stored in or returned from a descriptor's attributes bitfield.
35 EVAL_DECLARED = 128
36 }; 31 };
37 32
38 33
39 enum PropertyFilter { 34 enum PropertyFilter {
40 ALL_PROPERTIES = 0, 35 ALL_PROPERTIES = 0,
41 ONLY_WRITABLE = 1, 36 ONLY_WRITABLE = 1,
42 ONLY_ENUMERABLE = 2, 37 ONLY_ENUMERABLE = 2,
43 ONLY_CONFIGURABLE = 4, 38 ONLY_CONFIGURABLE = 4,
44 SKIP_STRINGS = 8, 39 SKIP_STRINGS = 8,
45 SKIP_SYMBOLS = 16, 40 SKIP_SYMBOLS = 16,
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 }; 394 };
400 395
401 396
402 std::ostream& operator<<(std::ostream& os, 397 std::ostream& operator<<(std::ostream& os,
403 const PropertyAttributes& attributes); 398 const PropertyAttributes& attributes);
404 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details); 399 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details);
405 } // namespace internal 400 } // namespace internal
406 } // namespace v8 401 } // namespace v8
407 402
408 #endif // V8_PROPERTY_DETAILS_H_ 403 #endif // V8_PROPERTY_DETAILS_H_
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698