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

Unified Diff: src/compiler/graph.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/compiler/graph.h ('k') | src/compiler/graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph.cc
diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc
index 81824f543010a745a513f10d19c37ab78b28a778..3f47eace8159e9d7ef97566db8bfe39a1e1acc8c 100644
--- a/src/compiler/graph.cc
+++ b/src/compiler/graph.cc
@@ -24,7 +24,7 @@ Graph::Graph(Zone* zone)
Node* Graph::NewNode(Operator* op, int input_count, Node** inputs) {
- ASSERT(op->InputCount() <= input_count);
+ DCHECK(op->InputCount() <= input_count);
Node* result = Node::New(this, input_count, inputs);
result->Initialize(op);
for (DecoratorVector::iterator i = decorators_.begin();
@@ -42,7 +42,7 @@ void Graph::DeleteNode(Node* node) {
#if DEBUG
// Nodes can't be deleted if they have uses.
Node::Uses::iterator use_iterator(node->uses().begin());
- ASSERT(use_iterator == node->uses().end());
+ DCHECK(use_iterator == node->uses().end());
#endif
#if DEBUG
« no previous file with comments | « src/compiler/graph.h ('k') | src/compiler/graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698