| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index bd99944149ec4adab18c97b2f9f3f85242888131..9f5823ae72b60118fce836897e6cb3b3871d57a5 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -157,12 +157,8 @@ Handle<Code> Pipeline::GenerateCode() {
|
| Graph graph(zone());
|
| SourcePositionTable source_positions(&graph);
|
| source_positions.AddDecorator();
|
| - // TODO(turbofan): there is no need to type anything during initial graph
|
| - // construction. This is currently only needed for the node cache, which the
|
| - // typer could sweep over later.
|
| - Typer typer(zone());
|
| CommonOperatorBuilder common(zone());
|
| - JSGraph jsgraph(&graph, &common, &typer);
|
| + JSGraph jsgraph(&graph, &common);
|
| Node* context_node;
|
| {
|
| PhaseStats graph_builder_stats(info(), PhaseStats::CREATE_GRAPH,
|
| @@ -208,14 +204,13 @@ Handle<Code> Pipeline::GenerateCode() {
|
| GraphReplayPrinter::PrintReplay(&graph);
|
| }
|
|
|
| + Typer typer(&graph, info()->context());
|
| if (FLAG_turbo_types) {
|
| {
|
| // Type the graph.
|
| PhaseStats typer_stats(info(), PhaseStats::CREATE_GRAPH, "typer");
|
| - typer.Run(&graph, info()->context());
|
| + typer.Run();
|
| }
|
| - // All new nodes must be typed.
|
| - typer.DecorateGraph(&graph);
|
| {
|
| // Lower JSOperators where we can determine types.
|
| PhaseStats lowering_stats(info(), PhaseStats::CREATE_GRAPH,
|
|
|