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; |
} |