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

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

Issue 505193002: Try again to fix Win32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/opcodes.h" 10 #include "src/compiler/opcodes.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Zone* zone_; 47 Zone* zone_;
48 Graph* graph_; 48 Graph* graph_;
49 Schedule* schedule_; 49 Schedule* schedule_;
50 NodeVectorVector scheduled_nodes_; 50 NodeVectorVector scheduled_nodes_;
51 NodeVector schedule_root_nodes_; 51 NodeVector schedule_root_nodes_;
52 ZoneVector<SchedulerData> node_data_; 52 ZoneVector<SchedulerData> node_data_;
53 bool has_floating_control_; 53 bool has_floating_control_;
54 54
55 Scheduler(Zone* zone, Graph* graph, Schedule* schedule); 55 Scheduler(Zone* zone, Graph* graph, Schedule* schedule);
56 56
57 SchedulerData DefaultSchedulerData();
58
57 SchedulerData* GetData(Node* node) { 59 SchedulerData* GetData(Node* node) {
58 DCHECK(node->id() < static_cast<int>(node_data_.size())); 60 DCHECK(node->id() < static_cast<int>(node_data_.size()));
59 return &node_data_[node->id()]; 61 return &node_data_[node->id()];
60 } 62 }
61 63
62 void BuildCFG(); 64 void BuildCFG();
63 65
64 Placement GetPlacement(Node* node); 66 Placement GetPlacement(Node* node);
65 67
66 int GetRPONumber(BasicBlock* block) { 68 int GetRPONumber(BasicBlock* block) {
(...skipping 19 matching lines...) Expand all
86 88
87 bool ConnectFloatingControl(); 89 bool ConnectFloatingControl();
88 90
89 void ConnectFloatingControlSubgraph(BasicBlock* block, Node* node); 91 void ConnectFloatingControlSubgraph(BasicBlock* block, Node* node);
90 }; 92 };
91 } 93 }
92 } 94 }
93 } // namespace v8::internal::compiler 95 } // namespace v8::internal::compiler
94 96
95 #endif // V8_COMPILER_SCHEDULER_H_ 97 #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