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

Unified Diff: src/compiler/structured-machine-assembler.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/source-position.cc ('k') | src/compiler/structured-machine-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/structured-machine-assembler.h
diff --git a/src/compiler/structured-machine-assembler.h b/src/compiler/structured-machine-assembler.h
index 383c3af56d4fc53f73d7e01e09172162e2d34f23..3a6b062a20a0cd248a6d526905a30e11dcc05474 100644
--- a/src/compiler/structured-machine-assembler.h
+++ b/src/compiler/structured-machine-assembler.h
@@ -94,7 +94,7 @@ class StructuredMachineAssembler
virtual Node* MakeNode(Operator* op, int input_count, Node** inputs);
Schedule* schedule() {
- ASSERT(ScheduleValid());
+ DCHECK(ScheduleValid());
return schedule_;
}
@@ -182,12 +182,12 @@ class StructuredMachineAssembler::IfBuilder {
void And();
void Or();
IfBuilder& OpenParen() {
- ASSERT(smasm_->current_environment_ != NULL);
+ DCHECK(smasm_->current_environment_ != NULL);
CurrentClause()->PushNewExpressionState();
return *this;
}
IfBuilder& CloseParen() {
- ASSERT(smasm_->current_environment_ == NULL);
+ DCHECK(smasm_->current_environment_ == NULL);
CurrentClause()->PopExpressionState();
return *this;
}
« no previous file with comments | « src/compiler/source-position.cc ('k') | src/compiler/structured-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698