| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 0d28dafb708d5f50121a4c8ee14c216c912218f4..022b6b5d1b2fb4eb24519d825f8548a2dde44d9c 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -1042,7 +1042,9 @@ Handle<Code> Pipeline::GenerateCode() {
|
| RunPrintAndVerify("OSR deconstruction");
|
| }
|
|
|
| - if (info()->is_type_feedback_enabled()) {
|
| + // TODO(turbofan): Type feedback currently requires deoptimization.
|
| + if (info()->is_deoptimization_enabled() &&
|
| + info()->is_type_feedback_enabled()) {
|
| Run<JSTypeFeedbackPhase>();
|
| RunPrintAndVerify("JSType feedback");
|
| }
|
|
|