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_JS_TYPE_FEEDBACK_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPE_FEEDBACK_LOWERING_H_ |
6 #define V8_COMPILER_JS_TYPE_FEEDBACK_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPE_FEEDBACK_LOWERING_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
| 14 |
| 15 // Forward declarations. |
| 16 class Factory; |
| 17 |
14 namespace compiler { | 18 namespace compiler { |
15 | 19 |
16 // Forward declarations. | 20 // Forward declarations. |
17 class CommonOperatorBuilder; | 21 class CommonOperatorBuilder; |
18 class JSGraph; | 22 class JSGraph; |
19 class MachineOperatorBuilder; | 23 class MachineOperatorBuilder; |
20 | 24 |
21 | 25 |
22 // Lowers JS-level operators to simplified operators based on type feedback. | 26 // Lowers JS-level operators to simplified operators based on type feedback. |
23 class JSTypeFeedbackLowering final : public AdvancedReducer { | 27 class JSTypeFeedbackLowering final : public AdvancedReducer { |
(...skipping 29 matching lines...) Expand all Loading... |
53 DISALLOW_COPY_AND_ASSIGN(JSTypeFeedbackLowering); | 57 DISALLOW_COPY_AND_ASSIGN(JSTypeFeedbackLowering); |
54 }; | 58 }; |
55 | 59 |
56 DEFINE_OPERATORS_FOR_FLAGS(JSTypeFeedbackLowering::Flags) | 60 DEFINE_OPERATORS_FOR_FLAGS(JSTypeFeedbackLowering::Flags) |
57 | 61 |
58 } // namespace compiler | 62 } // namespace compiler |
59 } // namespace internal | 63 } // namespace internal |
60 } // namespace v8 | 64 } // namespace v8 |
61 | 65 |
62 #endif // V8_COMPILER_JS_TYPE_FEEDBACK_LOWERING_H_ | 66 #endif // V8_COMPILER_JS_TYPE_FEEDBACK_LOWERING_H_ |
OLD | NEW |