Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: src/compiler/pipeline.cc

Issue 2171083004: [interpreter] Implement OSR graph construction from bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_interpreter-osr-2
Patch Set: Fix build on Windows. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/osr.cc ('k') | src/frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/osr.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698