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

Side by Side Diff: src/compiler/scheduler.h

Issue 478253002: Remove dead data structure in Scheduler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/compiler/scheduler.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_SCHEDULER_H_ 5 #ifndef V8_COMPILER_SCHEDULER_H_
6 #define V8_COMPILER_SCHEDULER_H_ 6 #define V8_COMPILER_SCHEDULER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/v8.h" 10 #include "src/v8.h"
(...skipping 19 matching lines...) Expand all
30 30
31 private: 31 private:
32 Zone* zone_; 32 Zone* zone_;
33 Graph* graph_; 33 Graph* graph_;
34 Schedule* schedule_; 34 Schedule* schedule_;
35 NodeVector branches_; 35 NodeVector branches_;
36 NodeVector calls_; 36 NodeVector calls_;
37 NodeVector deopts_; 37 NodeVector deopts_;
38 NodeVector returns_; 38 NodeVector returns_;
39 NodeVector loops_and_merges_; 39 NodeVector loops_and_merges_;
40 BasicBlockVector node_block_placement_;
41 IntVector unscheduled_uses_; 40 IntVector unscheduled_uses_;
42 NodeVectorVector scheduled_nodes_; 41 NodeVectorVector scheduled_nodes_;
43 NodeVector schedule_root_nodes_; 42 NodeVector schedule_root_nodes_;
44 IntVector schedule_early_rpo_index_; 43 IntVector schedule_early_rpo_index_;
45 44
46 Scheduler(Zone* zone, Graph* graph, Schedule* schedule); 45 Scheduler(Zone* zone, Graph* graph, Schedule* schedule);
47 46
48 int GetRPONumber(BasicBlock* block) { 47 int GetRPONumber(BasicBlock* block) {
49 DCHECK(block->rpo_number_ >= 0 && 48 DCHECK(block->rpo_number_ >= 0 &&
50 block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size())); 49 block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size()));
(...skipping 25 matching lines...) Expand all
76 void PrepareUses(); 75 void PrepareUses();
77 76
78 friend class ScheduleLateNodeVisitor; 77 friend class ScheduleLateNodeVisitor;
79 void ScheduleLate(); 78 void ScheduleLate();
80 }; 79 };
81 } 80 }
82 } 81 }
83 } // namespace v8::internal::compiler 82 } // namespace v8::internal::compiler
84 83
85 #endif // V8_COMPILER_SCHEDULER_H_ 84 #endif // V8_COMPILER_SCHEDULER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698