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/adapters.h" | 10 #include "src/base/adapters.h" |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1397 | 1397 |
1398 // Lower JSOperators where we can determine types. | 1398 // Lower JSOperators where we can determine types. |
1399 Run<TypedLoweringPhase>(); | 1399 Run<TypedLoweringPhase>(); |
1400 RunPrintAndVerify("Lowered typed"); | 1400 RunPrintAndVerify("Lowered typed"); |
1401 | 1401 |
1402 if (FLAG_turbo_stress_loop_peeling) { | 1402 if (FLAG_turbo_stress_loop_peeling) { |
1403 Run<StressLoopPeelingPhase>(); | 1403 Run<StressLoopPeelingPhase>(); |
1404 RunPrintAndVerify("Loop peeled"); | 1404 RunPrintAndVerify("Loop peeled"); |
1405 } | 1405 } |
1406 | 1406 |
1407 if (FLAG_experimental_turbo_escape) { | 1407 if (FLAG_turbo_escape) { |
1408 Run<EscapeAnalysisPhase>(); | 1408 Run<EscapeAnalysisPhase>(); |
1409 RunPrintAndVerify("Escape Analysed"); | 1409 RunPrintAndVerify("Escape Analysed"); |
1410 } | 1410 } |
1411 | 1411 |
1412 // Select representations. | 1412 // Select representations. |
1413 Run<RepresentationSelectionPhase>(); | 1413 Run<RepresentationSelectionPhase>(); |
1414 RunPrintAndVerify("Representations selected"); | 1414 RunPrintAndVerify("Representations selected"); |
1415 | 1415 |
1416 // Run early optimization pass. | 1416 // Run early optimization pass. |
1417 Run<EarlyOptimizationPhase>(); | 1417 Run<EarlyOptimizationPhase>(); |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1792 data->DeleteRegisterAllocationZone(); | 1792 data->DeleteRegisterAllocationZone(); |
1793 } | 1793 } |
1794 | 1794 |
1795 CompilationInfo* PipelineImpl::info() const { return data_->info(); } | 1795 CompilationInfo* PipelineImpl::info() const { return data_->info(); } |
1796 | 1796 |
1797 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } | 1797 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } |
1798 | 1798 |
1799 } // namespace compiler | 1799 } // namespace compiler |
1800 } // namespace internal | 1800 } // namespace internal |
1801 } // namespace v8 | 1801 } // namespace v8 |
OLD | NEW |