OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_COMPILER_TYPE_HINT_ANALYZER_H_ | 5 #ifndef V8_COMPILER_TYPE_HINT_ANALYZER_H_ |
6 #define V8_COMPILER_TYPE_HINT_ANALYZER_H_ | 6 #define V8_COMPILER_TYPE_HINT_ANALYZER_H_ |
7 | 7 |
8 #include "src/compiler/type-hints.h" | 8 #include "src/compiler/type-hints.h" |
9 #include "src/handles.h" | 9 #include "src/handles.h" |
10 #include "src/zone-containers.h" | 10 #include "src/zone/zone-containers.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 namespace compiler { | 14 namespace compiler { |
15 | 15 |
16 // The result of analyzing type hints. | 16 // The result of analyzing type hints. |
17 class TypeHintAnalysis final : public ZoneObject { | 17 class TypeHintAnalysis final : public ZoneObject { |
18 public: | 18 public: |
19 typedef ZoneMap<TypeFeedbackId, Handle<Code>> Infos; | 19 typedef ZoneMap<TypeFeedbackId, Handle<Code>> Infos; |
20 | 20 |
(...skipping 30 matching lines...) Expand all Loading... |
51 }; | 51 }; |
52 | 52 |
53 BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback); | 53 BinaryOperationHint BinaryOperationHintFromFeedback(int type_feedback); |
54 CompareOperationHint CompareOperationHintFromFeedback(int type_feedback); | 54 CompareOperationHint CompareOperationHintFromFeedback(int type_feedback); |
55 | 55 |
56 } // namespace compiler | 56 } // namespace compiler |
57 } // namespace internal | 57 } // namespace internal |
58 } // namespace v8 | 58 } // namespace v8 |
59 | 59 |
60 #endif // V8_COMPILER_TYPE_HINT_ANALYZER_H_ | 60 #endif // V8_COMPILER_TYPE_HINT_ANALYZER_H_ |
OLD | NEW |