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

Unified Diff: src/hydrogen-bch.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/hydrogen-bce.cc ('k') | src/hydrogen-check-elimination.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-bch.cc
diff --git a/src/hydrogen-bch.cc b/src/hydrogen-bch.cc
index 34216c66d32eed7658e8d1ac1be0c75a5f89b6c3..5af6030346a56a588d4a9a24b48fd55b1f1b0ac3 100644
--- a/src/hydrogen-bch.cc
+++ b/src/hydrogen-bch.cc
@@ -44,7 +44,7 @@ class InductionVariableBlocksTable BASE_EMBEDDED {
* induction variable).
*/
void InitializeLoop(InductionVariableData* data) {
- ASSERT(data->limit() != NULL);
+ DCHECK(data->limit() != NULL);
HLoopInformation* loop = data->phi()->block()->current_loop();
is_start_ = (block() == loop->loop_header());
is_proper_exit_ = (block() == data->induction_exit_target());
@@ -55,7 +55,7 @@ class InductionVariableBlocksTable BASE_EMBEDDED {
// Utility methods to iterate over dominated blocks.
void ResetCurrentDominatedBlock() { current_dominated_block_ = kNoBlock; }
HBasicBlock* CurrentDominatedBlock() {
- ASSERT(current_dominated_block_ != kNoBlock);
+ DCHECK(current_dominated_block_ != kNoBlock);
return current_dominated_block_ < block()->dominated_blocks()->length() ?
block()->dominated_blocks()->at(current_dominated_block_) : NULL;
}
@@ -181,7 +181,7 @@ class InductionVariableBlocksTable BASE_EMBEDDED {
Element element;
element.set_block(graph->blocks()->at(i));
elements_.Add(element, graph->zone());
- ASSERT(at(i)->block()->block_id() == i);
+ DCHECK(at(i)->block()->block_id() == i);
}
}
« no previous file with comments | « src/hydrogen-bce.cc ('k') | src/hydrogen-check-elimination.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698