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

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

Issue 1917753002: [turbofan] Remove obsolete parts of change lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/change-lowering.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('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 <sstream> 8 #include <sstream>
9 9
10 #include "src/base/adapters.h" 10 #include "src/base/adapters.h"
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 Schedule* schedule = Scheduler::ComputeSchedule(temp_zone, data->graph(), 832 Schedule* schedule = Scheduler::ComputeSchedule(temp_zone, data->graph(),
833 Scheduler::kNoFlags); 833 Scheduler::kNoFlags);
834 if (FLAG_turbo_verify) ScheduleVerifier::Run(schedule); 834 if (FLAG_turbo_verify) ScheduleVerifier::Run(schedule);
835 TraceSchedule(data->info(), schedule); 835 TraceSchedule(data->info(), schedule);
836 836
837 // Post-pass for wiring the control/effects 837 // Post-pass for wiring the control/effects
838 // - connect allocating representation changes into the control&effect 838 // - connect allocating representation changes into the control&effect
839 // chains and lower them, 839 // chains and lower them,
840 // - get rid of the region markers, 840 // - get rid of the region markers,
841 // - introduce effect phis and rewire effects to get SSA again. 841 // - introduce effect phis and rewire effects to get SSA again.
842 EffectControlLinearizer introducer(data->jsgraph(), schedule, temp_zone); 842 EffectControlLinearizer linearizer(data->jsgraph(), schedule, temp_zone);
843 introducer.Run(); 843 linearizer.Run();
844 } 844 }
845 }; 845 };
846 846
847 struct LateOptimizationPhase { 847 struct LateOptimizationPhase {
848 static const char* phase_name() { return "late optimization"; } 848 static const char* phase_name() { return "late optimization"; }
849 849
850 void Run(PipelineData* data, Zone* temp_zone) { 850 void Run(PipelineData* data, Zone* temp_zone) {
851 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone); 851 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone);
852 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), 852 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(),
853 data->common()); 853 data->common());
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 } 1591 }
1592 1592
1593 data->DeleteRegisterAllocationZone(); 1593 data->DeleteRegisterAllocationZone();
1594 } 1594 }
1595 1595
1596 Isolate* Pipeline::isolate() const { return info()->isolate(); } 1596 Isolate* Pipeline::isolate() const { return info()->isolate(); }
1597 1597
1598 } // namespace compiler 1598 } // namespace compiler
1599 } // namespace internal 1599 } // namespace internal
1600 } // namespace v8 1600 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698