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

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

Issue 764533003: Some micro-optimizations in the scheduler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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/schedule.h ('k') | 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 #include "src/compiler/node.h" 5 #include "src/compiler/node.h"
6 #include "src/compiler/node-properties.h" 6 #include "src/compiler/node-properties.h"
7 #include "src/compiler/node-properties-inl.h" 7 #include "src/compiler/node-properties-inl.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void BasicBlock::set_control(Control control) { 55 void BasicBlock::set_control(Control control) {
56 control_ = control; 56 control_ = control;
57 } 57 }
58 58
59 59
60 void BasicBlock::set_control_input(Node* control_input) { 60 void BasicBlock::set_control_input(Node* control_input) {
61 control_input_ = control_input; 61 control_input_ = control_input;
62 } 62 }
63 63
64 64
65 void BasicBlock::set_dominator_depth(int32_t dominator_depth) {
66 dominator_depth_ = dominator_depth;
67 }
68
69
70 void BasicBlock::set_dominator(BasicBlock* dominator) {
71 dominator_ = dominator;
72 }
73
74
75 void BasicBlock::set_loop_depth(int32_t loop_depth) { 65 void BasicBlock::set_loop_depth(int32_t loop_depth) {
76 loop_depth_ = loop_depth; 66 loop_depth_ = loop_depth;
77 } 67 }
78 68
79 69
80 void BasicBlock::set_rpo_number(int32_t rpo_number) { 70 void BasicBlock::set_rpo_number(int32_t rpo_number) {
81 rpo_number_ = rpo_number; 71 rpo_number_ = rpo_number;
82 } 72 }
83 73
84 74
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 } 311 }
322 os << "\n"; 312 os << "\n";
323 } 313 }
324 } 314 }
325 return os; 315 return os;
326 } 316 }
327 317
328 } // namespace compiler 318 } // namespace compiler
329 } // namespace internal 319 } // namespace internal
330 } // namespace v8 320 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/schedule.h ('k') | src/compiler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698