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

Unified Diff: src/compiler/raw-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/pipeline.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index 16aa1eff9bea53fdc7182189f6dd75181465e5ad..3a34b2be6e488225a82dbb2d137b71b70e64f8fe 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -29,7 +29,7 @@ class RawMachineAssembler : public GraphBuilder,
class Label {
public:
Label() : block_(NULL), used_(false), bound_(false) {}
- ~Label() { ASSERT(bound_ || !used_); }
+ ~Label() { DCHECK(bound_ || !used_); }
BasicBlock* block() { return block_; }
@@ -97,7 +97,7 @@ class RawMachineAssembler : public GraphBuilder,
virtual Node* MakeNode(Operator* op, int input_count, Node** inputs);
Schedule* schedule() {
- ASSERT(ScheduleValid());
+ DCHECK(ScheduleValid());
return schedule_;
}
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698