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

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

Issue 762723004: Move linked list for RPO order into BasicBlock itself. (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
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 namespace compiler { 13 namespace compiler {
14 14
15 BasicBlock::BasicBlock(Zone* zone, Id id) 15 BasicBlock::BasicBlock(Zone* zone, Id id)
16 : ao_number_(-1), 16 : ao_number_(-1),
17 rpo_number_(-1), 17 rpo_number_(-1),
18 deferred_(false), 18 deferred_(false),
19 dominator_depth_(-1), 19 dominator_depth_(-1),
20 dominator_(NULL), 20 dominator_(NULL),
21 rpo_next_(NULL),
21 loop_header_(NULL), 22 loop_header_(NULL),
22 loop_end_(NULL), 23 loop_end_(NULL),
23 loop_depth_(0), 24 loop_depth_(0),
24 control_(kNone), 25 control_(kNone),
25 control_input_(NULL), 26 control_input_(NULL),
26 nodes_(zone), 27 nodes_(zone),
27 successors_(zone), 28 successors_(zone),
28 predecessors_(zone), 29 predecessors_(zone),
29 id_(id) {} 30 id_(id) {}
30 31
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 } 312 }
312 os << "\n"; 313 os << "\n";
313 } 314 }
314 } 315 }
315 return os; 316 return os;
316 } 317 }
317 318
318 } // namespace compiler 319 } // namespace compiler
319 } // namespace internal 320 } // namespace internal
320 } // namespace v8 321 } // 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