| 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 1798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1809 } | 1809 } |
| 1810 | 1810 |
| 1811 #ifdef DEBUG | 1811 #ifdef DEBUG |
| 1812 data_->sequence()->ValidateEdgeSplitForm(); | 1812 data_->sequence()->ValidateEdgeSplitForm(); |
| 1813 data_->sequence()->ValidateDeferredBlockEntryPaths(); | 1813 data_->sequence()->ValidateDeferredBlockEntryPaths(); |
| 1814 data_->sequence()->ValidateDeferredBlockExitPaths(); | 1814 data_->sequence()->ValidateDeferredBlockExitPaths(); |
| 1815 #endif | 1815 #endif |
| 1816 | 1816 |
| 1817 data->InitializeRegisterAllocationData(config, descriptor); | 1817 data->InitializeRegisterAllocationData(config, descriptor); |
| 1818 if (info()->is_osr()) { | 1818 if (info()->is_osr()) { |
| 1819 AllowHandleDereference allow_deref; |
| 1819 OsrHelper osr_helper(info()); | 1820 OsrHelper osr_helper(info()); |
| 1820 osr_helper.SetupFrame(data->frame()); | 1821 osr_helper.SetupFrame(data->frame()); |
| 1821 } | 1822 } |
| 1822 | 1823 |
| 1823 Run<MeetRegisterConstraintsPhase>(); | 1824 Run<MeetRegisterConstraintsPhase>(); |
| 1824 Run<ResolvePhisPhase>(); | 1825 Run<ResolvePhisPhase>(); |
| 1825 Run<BuildLiveRangesPhase>(); | 1826 Run<BuildLiveRangesPhase>(); |
| 1826 if (FLAG_trace_turbo_graph) { | 1827 if (FLAG_trace_turbo_graph) { |
| 1827 AllowHandleDereference allow_deref; | 1828 AllowHandleDereference allow_deref; |
| 1828 OFStream os(stdout); | 1829 OFStream os(stdout); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1879 data->DeleteRegisterAllocationZone(); | 1880 data->DeleteRegisterAllocationZone(); |
| 1880 } | 1881 } |
| 1881 | 1882 |
| 1882 CompilationInfo* PipelineImpl::info() const { return data_->info(); } | 1883 CompilationInfo* PipelineImpl::info() const { return data_->info(); } |
| 1883 | 1884 |
| 1884 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } | 1885 Isolate* PipelineImpl::isolate() const { return info()->isolate(); } |
| 1885 | 1886 |
| 1886 } // namespace compiler | 1887 } // namespace compiler |
| 1887 } // namespace internal | 1888 } // namespace internal |
| 1888 } // namespace v8 | 1889 } // namespace v8 |
| OLD | NEW |