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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1231 | 1231 |
1232 // Lower JSOperators where we can determine types. | 1232 // Lower JSOperators where we can determine types. |
1233 Run<TypedLoweringPhase>(); | 1233 Run<TypedLoweringPhase>(); |
1234 RunPrintAndVerify("Lowered typed"); | 1234 RunPrintAndVerify("Lowered typed"); |
1235 | 1235 |
1236 if (FLAG_turbo_stress_loop_peeling) { | 1236 if (FLAG_turbo_stress_loop_peeling) { |
1237 Run<StressLoopPeelingPhase>(); | 1237 Run<StressLoopPeelingPhase>(); |
1238 RunPrintAndVerify("Loop peeled"); | 1238 RunPrintAndVerify("Loop peeled"); |
1239 } | 1239 } |
1240 | 1240 |
1241 if (FLAG_turbo_escape) { | 1241 if (FLAG_experimental_turbo_escape) { |
1242 Run<EscapeAnalysisPhase>(); | 1242 Run<EscapeAnalysisPhase>(); |
1243 RunPrintAndVerify("Escape Analysed"); | 1243 RunPrintAndVerify("Escape Analysed"); |
1244 } | 1244 } |
1245 | 1245 |
1246 // Lower simplified operators and insert changes. | 1246 // Lower simplified operators and insert changes. |
1247 Run<SimplifiedLoweringPhase>(); | 1247 Run<SimplifiedLoweringPhase>(); |
1248 RunPrintAndVerify("Lowered simplified"); | 1248 RunPrintAndVerify("Lowered simplified"); |
1249 | 1249 |
1250 Run<BranchEliminationPhase>(); | 1250 Run<BranchEliminationPhase>(); |
1251 RunPrintAndVerify("Branch conditions eliminated"); | 1251 RunPrintAndVerify("Branch conditions eliminated"); |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1560 } | 1560 } |
1561 | 1561 |
1562 data->DeleteRegisterAllocationZone(); | 1562 data->DeleteRegisterAllocationZone(); |
1563 } | 1563 } |
1564 | 1564 |
1565 Isolate* Pipeline::isolate() const { return info()->isolate(); } | 1565 Isolate* Pipeline::isolate() const { return info()->isolate(); } |
1566 | 1566 |
1567 } // namespace compiler | 1567 } // namespace compiler |
1568 } // namespace internal | 1568 } // namespace internal |
1569 } // namespace v8 | 1569 } // namespace v8 |
OLD | NEW |