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

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

Issue 1718483002: Revert of [turbofan] Connect ObjectIsNumber to effect and control chains. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@move-change-low
Patch Set: Created 4 years, 10 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/js-native-context-specialization.cc ('k') | src/compiler/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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 724
725 struct ChangeLoweringPhase { 725 struct ChangeLoweringPhase {
726 static const char* phase_name() { return "change lowering"; } 726 static const char* phase_name() { return "change lowering"; }
727 727
728 void Run(PipelineData* data, Zone* temp_zone) { 728 void Run(PipelineData* data, Zone* temp_zone) {
729 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone); 729 JSGraphReducer graph_reducer(data->jsgraph(), temp_zone);
730 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(), 730 DeadCodeElimination dead_code_elimination(&graph_reducer, data->graph(),
731 data->common()); 731 data->common());
732 SimplifiedOperatorReducer simple_reducer(data->jsgraph()); 732 SimplifiedOperatorReducer simple_reducer(data->jsgraph());
733 ValueNumberingReducer value_numbering(temp_zone); 733 ValueNumberingReducer value_numbering(temp_zone);
734 ChangeLowering lowering(&graph_reducer, data->jsgraph()); 734 ChangeLowering lowering(data->jsgraph());
735 MachineOperatorReducer machine_reducer(data->jsgraph()); 735 MachineOperatorReducer machine_reducer(data->jsgraph());
736 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(), 736 CommonOperatorReducer common_reducer(&graph_reducer, data->graph(),
737 data->common(), data->machine()); 737 data->common(), data->machine());
738 AddReducer(data, &graph_reducer, &dead_code_elimination); 738 AddReducer(data, &graph_reducer, &dead_code_elimination);
739 AddReducer(data, &graph_reducer, &simple_reducer); 739 AddReducer(data, &graph_reducer, &simple_reducer);
740 AddReducer(data, &graph_reducer, &value_numbering); 740 AddReducer(data, &graph_reducer, &value_numbering);
741 AddReducer(data, &graph_reducer, &lowering); 741 AddReducer(data, &graph_reducer, &lowering);
742 AddReducer(data, &graph_reducer, &machine_reducer); 742 AddReducer(data, &graph_reducer, &machine_reducer);
743 AddReducer(data, &graph_reducer, &common_reducer); 743 AddReducer(data, &graph_reducer, &common_reducer);
744 graph_reducer.ReduceGraph(); 744 graph_reducer.ReduceGraph();
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 } 1500 }
1501 1501
1502 data->DeleteRegisterAllocationZone(); 1502 data->DeleteRegisterAllocationZone();
1503 } 1503 }
1504 1504
1505 Isolate* Pipeline::isolate() const { return info()->isolate(); } 1505 Isolate* Pipeline::isolate() const { return info()->isolate(); }
1506 1506
1507 } // namespace compiler 1507 } // namespace compiler
1508 } // namespace internal 1508 } // namespace internal
1509 } // namespace v8 1509 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698