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/checks.h" | 10 #include "src/base/logging.h" |
11 #include "src/elements-kind.h" | 11 #include "src/elements-kind.h" |
12 #include "src/heap/heap.h" | |
13 #include "src/isolate.h" | |
14 #include "src/objects.h" | 12 #include "src/objects.h" |
15 #include "src/zone-containers.h" | 13 #include "src/zone-containers.h" |
16 | 14 |
17 namespace v8 { | 15 namespace v8 { |
18 namespace internal { | 16 namespace internal { |
19 | 17 |
20 | 18 |
21 enum class FeedbackVectorSlotKind { | 19 enum class FeedbackVectorSlotKind { |
22 // This kind means that the slot points to the middle of other slot | 20 // This kind means that the slot points to the middle of other slot |
23 // which occupies more than one feedback vector element. | 21 // which occupies more than one feedback vector element. |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; | 541 KeyedAccessStoreMode GetKeyedAccessStoreMode() const; |
544 IcCheckType GetKeyType() const; | 542 IcCheckType GetKeyType() const; |
545 | 543 |
546 InlineCacheState StateFromFeedback() const override; | 544 InlineCacheState StateFromFeedback() const override; |
547 Name* FindFirstName() const override; | 545 Name* FindFirstName() const override; |
548 }; | 546 }; |
549 } // namespace internal | 547 } // namespace internal |
550 } // namespace v8 | 548 } // namespace v8 |
551 | 549 |
552 #endif // V8_TRANSITIONS_H_ | 550 #endif // V8_TRANSITIONS_H_ |
OLD | NEW |