| 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/type-hints.h" | 13 #include "src/type-hints.h" |
| 14 #include "src/zone-containers.h" | 14 #include "src/zone/zone-containers.h" |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 enum class FeedbackVectorSlotKind { | 19 enum class FeedbackVectorSlotKind { |
| 20 // 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 |
| 21 // which occupies more than one feedback vector element. | 21 // which occupies more than one feedback vector element. |
| 22 // There must be no such slots in the system. | 22 // There must be no such slots in the system. |
| 23 INVALID, | 23 INVALID, |
| 24 | 24 |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 } | 711 } |
| 712 }; | 712 }; |
| 713 | 713 |
| 714 inline BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback); | 714 inline BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback); |
| 715 inline CompareOperationHint CompareOperationHintFromFeedback(int type_feedback); | 715 inline CompareOperationHint CompareOperationHintFromFeedback(int type_feedback); |
| 716 | 716 |
| 717 } // namespace internal | 717 } // namespace internal |
| 718 } // namespace v8 | 718 } // namespace v8 |
| 719 | 719 |
| 720 #endif // V8_TRANSITIONS_H_ | 720 #endif // V8_TRANSITIONS_H_ |
| OLD | NEW |