Chromium Code Reviews| Index: src/compiler/pipeline.cc |
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
| index da25a91f2c9e6286ee4ba0efbaeafc71b0e52bbd..33c6712ffd4e1cbc192958174f0415b3d1cd6951 100644 |
| --- a/src/compiler/pipeline.cc |
| +++ b/src/compiler/pipeline.cc |
| @@ -13,6 +13,7 @@ |
| #include "src/compiler/instruction-selector.h" |
| #include "src/compiler/js-context-specialization.h" |
| #include "src/compiler/js-generic-lowering.h" |
| +#include "src/compiler/js-inlining.h" |
| #include "src/compiler/js-typed-lowering.h" |
| #include "src/compiler/phi-reducer.h" |
| #include "src/compiler/register-allocator.h" |
| @@ -194,6 +195,14 @@ Handle<Code> Pipeline::GenerateCode() { |
| VerifyAndPrintGraph(&graph, "Context specialized"); |
| } |
| + if (FLAG_turbo_inlining) { |
| + SourcePositionTable::Scope pos_(&source_positions, |
|
Michael Starzinger
2014/08/14 10:36:22
nit: Let's drop the trialing underscore from "pos"
sigurds
2014/08/19 11:31:19
Done.
|
| + SourcePosition::Unknown()); |
| + JSInliner inliner(info(), &jsgraph); |
| + inliner.Inline(); |
| + VerifyAndPrintGraph(&graph, "Inlined"); |
| + } |
| + |
| // Print a replay of the initial graph. |
| if (FLAG_print_turbo_replay) { |
| GraphReplayPrinter::PrintReplay(&graph); |