Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index bace902d4dce87cc3b33c242e774c713acc08a27..e038453778504ab90d081e7a37bc8942f8c9caa5 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -607,7 +607,7 @@ void ExternalStringTable::Verify() { |
Object* obj = Object::cast(new_space_strings_[i]); |
// TODO(yangguo): check that the object is indeed an external string. |
ASSERT(heap_->InNewSpace(obj)); |
- ASSERT(obj != HEAP->raw_unchecked_the_hole_value()); |
+ ASSERT(obj != HEAP->the_hole_value()); |
if (obj->IsExternalAsciiString()) { |
ExternalAsciiString* string = ExternalAsciiString::cast(obj); |
ASSERT(String::IsAscii(string->GetChars(), string->length())); |
@@ -617,7 +617,7 @@ void ExternalStringTable::Verify() { |
Object* obj = Object::cast(old_space_strings_[i]); |
// TODO(yangguo): check that the object is indeed an external string. |
ASSERT(!heap_->InNewSpace(obj)); |
- ASSERT(obj != HEAP->raw_unchecked_the_hole_value()); |
+ ASSERT(obj != HEAP->the_hole_value()); |
if (obj->IsExternalAsciiString()) { |
ExternalAsciiString* string = ExternalAsciiString::cast(obj); |
ASSERT(String::IsAscii(string->GetChars(), string->length())); |