| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_H_ | 5 #ifndef V8_PROPERTY_H_ |
| 6 #define V8_PROPERTY_H_ | 6 #define V8_PROPERTY_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/factory.h" | 10 #include "src/factory.h" |
| 11 #include "src/field-index.h" | 11 #include "src/field-index.h" |
| 12 #include "src/field-type.h" |
| 12 #include "src/isolate.h" | 13 #include "src/isolate.h" |
| 13 #include "src/types.h" | |
| 14 | 14 |
| 15 namespace v8 { | 15 namespace v8 { |
| 16 namespace internal { | 16 namespace internal { |
| 17 | 17 |
| 18 // Abstraction for elements in instance-descriptor arrays. | 18 // Abstraction for elements in instance-descriptor arrays. |
| 19 // | 19 // |
| 20 // Each descriptor has a key, property attributes, property type, | 20 // Each descriptor has a key, property attributes, property type, |
| 21 // property index (in the actual instance-descriptor array) and | 21 // property index (in the actual instance-descriptor array) and |
| 22 // optionally a piece of data. | 22 // optionally a piece of data. |
| 23 class Descriptor BASE_EMBEDDED { | 23 class Descriptor BASE_EMBEDDED { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 PropertyAttributes attributes) | 104 PropertyAttributes attributes) |
| 105 : Descriptor(key, foreign, attributes, ACCESSOR_CONSTANT, | 105 : Descriptor(key, foreign, attributes, ACCESSOR_CONSTANT, |
| 106 Representation::Tagged()) {} | 106 Representation::Tagged()) {} |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 | 109 |
| 110 } // namespace internal | 110 } // namespace internal |
| 111 } // namespace v8 | 111 } // namespace v8 |
| 112 | 112 |
| 113 #endif // V8_PROPERTY_H_ | 113 #endif // V8_PROPERTY_H_ |
| OLD | NEW |