| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 55455690dded1f66cefa3c6e2fd883912c647c10..b816f533f8a35f3401967b23416bfc566c269a40 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -31,6 +31,7 @@
|
| #include "src/compiler/js-inlining.h"
|
| #include "src/compiler/js-intrinsic-lowering.h"
|
| #include "src/compiler/js-type-feedback.h"
|
| +#include "src/compiler/js-type-feedback-lowering.h"
|
| #include "src/compiler/js-typed-lowering.h"
|
| #include "src/compiler/jump-threading.h"
|
| #include "src/compiler/load-elimination.h"
|
| @@ -577,6 +578,11 @@ struct TypedLoweringPhase {
|
| LoadElimination load_elimination(&graph_reducer);
|
| JSBuiltinReducer builtin_reducer(&graph_reducer, data->jsgraph());
|
| JSTypedLowering typed_lowering(&graph_reducer, data->jsgraph(), temp_zone);
|
| + JSTypeFeedbackLowering type_feedback_lowering(
|
| + &graph_reducer, data->info()->is_deoptimization_enabled()
|
| + ? JSTypeFeedbackLowering::kDeoptimizationEnabled
|
| + : JSTypeFeedbackLowering::kNoFlags,
|
| + data->jsgraph());
|
| JSIntrinsicLowering intrinsic_lowering(
|
| &graph_reducer, data->jsgraph(),
|
| data->info()->is_deoptimization_enabled()
|
| @@ -588,6 +594,7 @@ struct TypedLoweringPhase {
|
| AddReducer(data, &graph_reducer, &builtin_reducer);
|
| AddReducer(data, &graph_reducer, &typed_lowering);
|
| AddReducer(data, &graph_reducer, &intrinsic_lowering);
|
| + AddReducer(data, &graph_reducer, &type_feedback_lowering);
|
| AddReducer(data, &graph_reducer, &load_elimination);
|
| AddReducer(data, &graph_reducer, &common_reducer);
|
| graph_reducer.ReduceGraph();
|
|
|