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

Unified Diff: src/prototype.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/property-details.h ('k') | src/regexp-macro-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prototype.h
diff --git a/src/prototype.h b/src/prototype.h
index 586df56f67fbb3b7db3d91bc06ef7119d42c5f7f..4df1114c7705780ef2a97ae677b734857c9dbf90 100644
--- a/src/prototype.h
+++ b/src/prototype.h
@@ -60,11 +60,11 @@ class PrototypeIterator {
~PrototypeIterator() {}
Object* GetCurrent() const {
- ASSERT(handle_.is_null());
+ DCHECK(handle_.is_null());
return object_;
}
static Handle<Object> GetCurrent(const PrototypeIterator& iterator) {
- ASSERT(!iterator.handle_.is_null());
+ DCHECK(!iterator.handle_.is_null());
return iterator.handle_;
}
void Advance() {
@@ -110,11 +110,11 @@ class PrototypeIterator {
}
}
bool IsAtEnd(Object* final_object) {
- ASSERT(handle_.is_null());
+ DCHECK(handle_.is_null());
return object_->IsNull() || object_ == final_object;
}
bool IsAtEnd(Handle<Object> final_object) {
- ASSERT(!handle_.is_null());
+ DCHECK(!handle_.is_null());
return handle_->IsNull() || *handle_ == *final_object;
}
« no previous file with comments | « src/property-details.h ('k') | src/regexp-macro-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698