| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/compiler/pipeline.h" | 5 #include "src/compiler/pipeline.h" |
| 6 | 6 |
| 7 #include <fstream> // NOLINT(readability/streams) | 7 #include <fstream> // NOLINT(readability/streams) |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 | 9 |
| 10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 PipelineStatistics* pipeline_statistics) | 46 PipelineStatistics* pipeline_statistics) |
| 47 : isolate_(info->zone()->isolate()), | 47 : isolate_(info->zone()->isolate()), |
| 48 outer_zone_(info->zone()), | 48 outer_zone_(info->zone()), |
| 49 zone_pool_(zone_pool), | 49 zone_pool_(zone_pool), |
| 50 pipeline_statistics_(pipeline_statistics), | 50 pipeline_statistics_(pipeline_statistics), |
| 51 graph_zone_scope_(zone_pool_), | 51 graph_zone_scope_(zone_pool_), |
| 52 graph_zone_(graph_zone_scope_.zone()), | 52 graph_zone_(graph_zone_scope_.zone()), |
| 53 graph_(new (graph_zone()) Graph(graph_zone())), | 53 graph_(new (graph_zone()) Graph(graph_zone())), |
| 54 source_positions_(new SourcePositionTable(graph())), | 54 source_positions_(new SourcePositionTable(graph())), |
| 55 machine_(new (graph_zone()) MachineOperatorBuilder( | 55 machine_(new (graph_zone()) MachineOperatorBuilder( |
| 56 kMachPtr, InstructionSelector::SupportedMachineOperatorFlags())), | 56 graph_zone(), kMachPtr, |
| 57 InstructionSelector::SupportedMachineOperatorFlags())), |
| 57 common_(new (graph_zone()) CommonOperatorBuilder(graph_zone())), | 58 common_(new (graph_zone()) CommonOperatorBuilder(graph_zone())), |
| 58 javascript_(new (graph_zone()) JSOperatorBuilder(graph_zone())), | 59 javascript_(new (graph_zone()) JSOperatorBuilder(graph_zone())), |
| 59 jsgraph_(new (graph_zone()) | 60 jsgraph_(new (graph_zone()) |
| 60 JSGraph(graph(), common(), javascript(), machine())), | 61 JSGraph(graph(), common(), javascript(), machine())), |
| 61 typer_(new Typer(graph(), info->context())), | 62 typer_(new Typer(graph(), info->context())), |
| 62 schedule_(NULL), | 63 schedule_(NULL), |
| 63 instruction_zone_scope_(zone_pool_), | 64 instruction_zone_scope_(zone_pool_), |
| 64 instruction_zone_(instruction_zone_scope_.zone()) {} | 65 instruction_zone_(instruction_zone_scope_.zone()) {} |
| 65 | 66 |
| 66 // For machine graph testing only. | 67 // For machine graph testing only. |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 } | 638 } |
| 638 | 639 |
| 639 | 640 |
| 640 void Pipeline::TearDown() { | 641 void Pipeline::TearDown() { |
| 641 InstructionOperand::TearDownCaches(); | 642 InstructionOperand::TearDownCaches(); |
| 642 } | 643 } |
| 643 | 644 |
| 644 } // namespace compiler | 645 } // namespace compiler |
| 645 } // namespace internal | 646 } // namespace internal |
| 646 } // namespace v8 | 647 } // namespace v8 |
| OLD | NEW |