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

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

Issue 430503007: Rename ASSERT* to DCHECK*. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE and fixes 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 | « 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 #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 25 matching lines...) Expand all
36 NodeVector deopts_; 36 NodeVector deopts_;
37 NodeVector returns_; 37 NodeVector returns_;
38 NodeVector loops_and_merges_; 38 NodeVector loops_and_merges_;
39 BasicBlockVector node_block_placement_; 39 BasicBlockVector node_block_placement_;
40 IntVector unscheduled_uses_; 40 IntVector unscheduled_uses_;
41 NodeVectorVector scheduled_nodes_; 41 NodeVectorVector scheduled_nodes_;
42 NodeVector schedule_root_nodes_; 42 NodeVector schedule_root_nodes_;
43 IntVector schedule_early_rpo_index_; 43 IntVector schedule_early_rpo_index_;
44 44
45 int GetRPONumber(BasicBlock* block) { 45 int GetRPONumber(BasicBlock* block) {
46 ASSERT(block->rpo_number_ >= 0 && 46 DCHECK(block->rpo_number_ >= 0 &&
47 block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size())); 47 block->rpo_number_ < static_cast<int>(schedule_->rpo_order_.size()));
48 ASSERT(schedule_->rpo_order_[block->rpo_number_] == block); 48 DCHECK(schedule_->rpo_order_[block->rpo_number_] == block);
49 return block->rpo_number_; 49 return block->rpo_number_;
50 } 50 }
51 51
52 void PrepareAuxiliaryNodeData(); 52 void PrepareAuxiliaryNodeData();
53 void PrepareAuxiliaryBlockData(); 53 void PrepareAuxiliaryBlockData();
54 54
55 friend class CreateBlockVisitor; 55 friend class CreateBlockVisitor;
56 void CreateBlocks(); 56 void CreateBlocks();
57 57
58 void WireBlocks(); 58 void WireBlocks();
(...skipping 14 matching lines...) Expand all
73 void PrepareUses(); 73 void PrepareUses();
74 74
75 friend class ScheduleLateNodeVisitor; 75 friend class ScheduleLateNodeVisitor;
76 void ScheduleLate(); 76 void ScheduleLate();
77 }; 77 };
78 } 78 }
79 } 79 }
80 } // namespace v8::internal::compiler 80 } // namespace v8::internal::compiler
81 81
82 #endif // V8_COMPILER_SCHEDULER_H_ 82 #endif // V8_COMPILER_SCHEDULER_H_
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