OLD | NEW |
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_SCHEDULE_H_ | 5 #ifndef V8_COMPILER_SCHEDULE_H_ |
6 #define V8_COMPILER_SCHEDULE_H_ | 6 #define V8_COMPILER_SCHEDULE_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 Control control() const { return control_; } | 139 Control control() const { return control_; } |
140 void set_control(Control control); | 140 void set_control(Control control); |
141 | 141 |
142 Node* control_input() const { return control_input_; } | 142 Node* control_input() const { return control_input_; } |
143 void set_control_input(Node* control_input); | 143 void set_control_input(Node* control_input); |
144 | 144 |
145 bool deferred() const { return deferred_; } | 145 bool deferred() const { return deferred_; } |
146 void set_deferred(bool deferred) { deferred_ = deferred; } | 146 void set_deferred(bool deferred) { deferred_ = deferred; } |
147 | 147 |
148 int32_t dominator_depth() const { return dominator_depth_; } | 148 int32_t dominator_depth() const { return dominator_depth_; } |
149 void set_dominator_depth(int32_t dominator_depth); | 149 void set_dominator_depth(int32_t depth) { dominator_depth_ = depth; } |
150 | 150 |
151 BasicBlock* dominator() const { return dominator_; } | 151 BasicBlock* dominator() const { return dominator_; } |
152 void set_dominator(BasicBlock* dominator); | 152 void set_dominator(BasicBlock* dominator) { dominator_ = dominator; } |
153 | 153 |
154 BasicBlock* loop_header() const { return loop_header_; } | 154 BasicBlock* loop_header() const { return loop_header_; } |
155 void set_loop_header(BasicBlock* loop_header); | 155 void set_loop_header(BasicBlock* loop_header); |
156 | 156 |
157 BasicBlock* loop_end() const { return loop_end_; } | 157 BasicBlock* loop_end() const { return loop_end_; } |
158 void set_loop_end(BasicBlock* loop_end); | 158 void set_loop_end(BasicBlock* loop_end); |
159 | 159 |
160 int32_t loop_depth() const { return loop_depth_; } | 160 int32_t loop_depth() const { return loop_depth_; } |
161 void set_loop_depth(int32_t loop_depth); | 161 void set_loop_depth(int32_t loop_depth); |
162 | 162 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 DISALLOW_COPY_AND_ASSIGN(Schedule); | 283 DISALLOW_COPY_AND_ASSIGN(Schedule); |
284 }; | 284 }; |
285 | 285 |
286 std::ostream& operator<<(std::ostream& os, const Schedule& s); | 286 std::ostream& operator<<(std::ostream& os, const Schedule& s); |
287 | 287 |
288 } // namespace compiler | 288 } // namespace compiler |
289 } // namespace internal | 289 } // namespace internal |
290 } // namespace v8 | 290 } // namespace v8 |
291 | 291 |
292 #endif // V8_COMPILER_SCHEDULE_H_ | 292 #endif // V8_COMPILER_SCHEDULE_H_ |
OLD | NEW |