Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index a0e07d1888d304af5432e9c02e312840bda6597b..52b30dd6ecd4c12a36b360d18d07e44b74b25192 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -804,7 +804,9 @@ struct InliningPhase { |
AddReducer(data, &graph_reducer, &native_context_specialization); |
AddReducer(data, &graph_reducer, &context_specialization); |
AddReducer(data, &graph_reducer, &call_reducer); |
- AddReducer(data, &graph_reducer, &inlining); |
+ if (!data->info()->is_optimizing_from_bytecode()) { |
+ AddReducer(data, &graph_reducer, &inlining); |
+ } |
graph_reducer.ReduceGraph(); |
} |
}; |