Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 5a7bd11bf130a397f29690947dc9f077f4e1e714..92e77dfc759f8cf1a04fd32a2a1118107bf23b91 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -538,7 +538,10 @@ struct InliningPhase { |
data->common()); |
CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), |
data->common(), data->machine()); |
- JSCallReducer call_reducer(data->jsgraph()); |
+ JSCallReducer call_reducer(data->jsgraph(), |
+ data->info()->is_deoptimization_enabled() |
+ ? JSCallReducer::kDeoptimizationEnabled |
+ : JSCallReducer::kNoFlags); |
JSContextSpecialization context_specialization( |
&graph_reducer, data->jsgraph(), |
data->info()->is_function_context_specializing() |