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 "isolate.h" | 8 #include "src/isolate.h" |
9 #include "factory.h" | 9 #include "src/factory.h" |
10 #include "types.h" | 10 #include "src/types.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 // Abstraction for elements in instance-descriptor arrays. | 15 // Abstraction for elements in instance-descriptor arrays. |
16 // | 16 // |
17 // Each descriptor has a key, property attributes, property type, | 17 // Each descriptor has a key, property attributes, property type, |
18 // property index (in the actual instance-descriptor array) and | 18 // property index (in the actual instance-descriptor array) and |
19 // optionally a piece of data. | 19 // optionally a piece of data. |
20 class Descriptor BASE_EMBEDDED { | 20 class Descriptor BASE_EMBEDDED { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 JSReceiver* holder_; | 531 JSReceiver* holder_; |
532 Map* transition_; | 532 Map* transition_; |
533 int number_; | 533 int number_; |
534 bool cacheable_; | 534 bool cacheable_; |
535 PropertyDetails details_; | 535 PropertyDetails details_; |
536 }; | 536 }; |
537 | 537 |
538 } } // namespace v8::internal | 538 } } // namespace v8::internal |
539 | 539 |
540 #endif // V8_PROPERTY_H_ | 540 #endif // V8_PROPERTY_H_ |
OLD | NEW |