| 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 <memory> |     8 #include <memory> | 
|     9 #include <sstream> |     9 #include <sstream> | 
|    10  |    10  | 
| (...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1496   Run<GraphBuilderPhase>(); |  1496   Run<GraphBuilderPhase>(); | 
|  1497   if (data->compilation_failed()) { |  1497   if (data->compilation_failed()) { | 
|  1498     data->EndPhaseKind(); |  1498     data->EndPhaseKind(); | 
|  1499     return false; |  1499     return false; | 
|  1500   } |  1500   } | 
|  1501   RunPrintAndVerify("Initial untyped", true); |  1501   RunPrintAndVerify("Initial untyped", true); | 
|  1502  |  1502  | 
|  1503   // Perform OSR deconstruction. |  1503   // Perform OSR deconstruction. | 
|  1504   if (info()->is_osr()) { |  1504   if (info()->is_osr()) { | 
|  1505     Run<OsrDeconstructionPhase>(); |  1505     Run<OsrDeconstructionPhase>(); | 
|  1506  |  | 
|  1507     Run<UntyperPhase>(); |  | 
|  1508     RunPrintAndVerify("OSR deconstruction", true); |  1506     RunPrintAndVerify("OSR deconstruction", true); | 
|  1509   } |  1507   } | 
|  1510  |  1508  | 
|  1511   // Perform function context specialization and inlining (if enabled). |  1509   // Perform function context specialization and inlining (if enabled). | 
|  1512   Run<InliningPhase>(); |  1510   Run<InliningPhase>(); | 
|  1513   RunPrintAndVerify("Inlined", true); |  1511   RunPrintAndVerify("Inlined", true); | 
|  1514  |  1512  | 
|  1515   // Remove dead->live edges from the graph. |  1513   // Remove dead->live edges from the graph. | 
|  1516   Run<EarlyGraphTrimmingPhase>(); |  1514   Run<EarlyGraphTrimmingPhase>(); | 
|  1517   RunPrintAndVerify("Early trimmed", true); |  1515   RunPrintAndVerify("Early trimmed", true); | 
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2024   data->DeleteRegisterAllocationZone(); |  2022   data->DeleteRegisterAllocationZone(); | 
|  2025 } |  2023 } | 
|  2026  |  2024  | 
|  2027 CompilationInfo* PipelineImpl::info() const { return data_->info(); } |  2025 CompilationInfo* PipelineImpl::info() const { return data_->info(); } | 
|  2028  |  2026  | 
|  2029 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } |  2027 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } | 
|  2030  |  2028  | 
|  2031 }  // namespace compiler |  2029 }  // namespace compiler | 
|  2032 }  // namespace internal |  2030 }  // namespace internal | 
|  2033 }  // namespace v8 |  2031 }  // namespace v8 | 
| OLD | NEW |