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-index-inl.h" | |
13 #include "src/isolate.h" | 12 #include "src/isolate.h" |
14 #include "src/types.h" | 13 #include "src/types.h" |
15 | 14 |
16 namespace v8 { | 15 namespace v8 { |
17 namespace internal { | 16 namespace internal { |
18 | 17 |
19 // Abstraction for elements in instance-descriptor arrays. | 18 // Abstraction for elements in instance-descriptor arrays. |
20 // | 19 // |
21 // Each descriptor has a key, property attributes, property type, | 20 // Each descriptor has a key, property attributes, property type, |
22 // property index (in the actual instance-descriptor array) and | 21 // property index (in the actual instance-descriptor array) and |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 AccessorConstantDescriptor(Handle<Name> key, Handle<Object> foreign, | 103 AccessorConstantDescriptor(Handle<Name> key, Handle<Object> foreign, |
105 PropertyAttributes attributes) | 104 PropertyAttributes attributes) |
106 : Descriptor(key, foreign, attributes, ACCESSOR_CONSTANT, | 105 : Descriptor(key, foreign, attributes, ACCESSOR_CONSTANT, |
107 Representation::Tagged()) {} | 106 Representation::Tagged()) {} |
108 }; | 107 }; |
109 | 108 |
110 | 109 |
111 } } // namespace v8::internal | 110 } } // namespace v8::internal |
112 | 111 |
113 #endif // V8_PROPERTY_H_ | 112 #endif // V8_PROPERTY_H_ |
OLD | NEW |