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_TYPE_FEEDBACK_VECTOR_H_ | 5 #ifndef V8_TYPE_FEEDBACK_VECTOR_H_ |
6 #define V8_TYPE_FEEDBACK_VECTOR_H_ | 6 #define V8_TYPE_FEEDBACK_VECTOR_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "src/base/logging.h" | 10 #include "src/base/logging.h" |
11 #include "src/elements-kind.h" | 11 #include "src/elements-kind.h" |
12 #include "src/objects.h" | 12 #include "src/objects.h" |
13 #include "src/zone-containers.h" | 13 #include "src/zone/zone-containers.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 enum class FeedbackVectorSlotKind { | 18 enum class FeedbackVectorSlotKind { |
19 // This kind means that the slot points to the middle of other slot | 19 // This kind means that the slot points to the middle of other slot |
20 // which occupies more than one feedback vector element. | 20 // which occupies more than one feedback vector element. |
21 // There must be no such slots in the system. | 21 // There must be no such slots in the system. |
22 INVALID, | 22 INVALID, |
23 | 23 |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; | 633 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; |
634 IcCheckType GetKeyType() const; | 634 IcCheckType GetKeyType() const; |
635 | 635 |
636 InlineCacheState StateFromFeedback() const override; | 636 InlineCacheState StateFromFeedback() const override; |
637 Name* FindFirstName() const override; | 637 Name* FindFirstName() const override; |
638 }; | 638 }; |
639 } // namespace internal | 639 } // namespace internal |
640 } // namespace v8 | 640 } // namespace v8 |
641 | 641 |
642 #endif // V8_TRANSITIONS_H_ | 642 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |