| OLD | NEW |
| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 STATIC_ASSERT(ONLY_ENUMERABLE == | 55 STATIC_ASSERT(ONLY_ENUMERABLE == |
| 56 static_cast<PropertyFilter>(v8::PropertyFilter::ONLY_ENUMERABLE)); | 56 static_cast<PropertyFilter>(v8::PropertyFilter::ONLY_ENUMERABLE)); |
| 57 STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>( | 57 STATIC_ASSERT(ONLY_CONFIGURABLE == static_cast<PropertyFilter>( |
| 58 v8::PropertyFilter::ONLY_CONFIGURABLE)); | 58 v8::PropertyFilter::ONLY_CONFIGURABLE)); |
| 59 STATIC_ASSERT(SKIP_STRINGS == | 59 STATIC_ASSERT(SKIP_STRINGS == |
| 60 static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_STRINGS)); | 60 static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_STRINGS)); |
| 61 STATIC_ASSERT(SKIP_SYMBOLS == | 61 STATIC_ASSERT(SKIP_SYMBOLS == |
| 62 static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_SYMBOLS)); | 62 static_cast<PropertyFilter>(v8::PropertyFilter::SKIP_SYMBOLS)); |
| 63 | 63 |
| 64 class Smi; | 64 class Smi; |
| 65 class Type; | |
| 66 class TypeInfo; | 65 class TypeInfo; |
| 67 | 66 |
| 68 // Type of properties. | 67 // Type of properties. |
| 69 // Order of kinds is significant. | 68 // Order of kinds is significant. |
| 70 // Must fit in the BitField PropertyDetails::KindField. | 69 // Must fit in the BitField PropertyDetails::KindField. |
| 71 enum PropertyKind { kData = 0, kAccessor = 1 }; | 70 enum PropertyKind { kData = 0, kAccessor = 1 }; |
| 72 | 71 |
| 73 | 72 |
| 74 // Order of modes is significant. | 73 // Order of modes is significant. |
| 75 // Must fit in the BitField PropertyDetails::StoreModeField. | 74 // Must fit in the BitField PropertyDetails::StoreModeField. |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 }; | 393 }; |
| 395 | 394 |
| 396 | 395 |
| 397 std::ostream& operator<<(std::ostream& os, | 396 std::ostream& operator<<(std::ostream& os, |
| 398 const PropertyAttributes& attributes); | 397 const PropertyAttributes& attributes); |
| 399 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details); | 398 std::ostream& operator<<(std::ostream& os, const PropertyDetails& details); |
| 400 } // namespace internal | 399 } // namespace internal |
| 401 } // namespace v8 | 400 } // namespace v8 |
| 402 | 401 |
| 403 #endif // V8_PROPERTY_DETAILS_H_ | 402 #endif // V8_PROPERTY_DETAILS_H_ |
| OLD | NEW |