| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index f9c9235320b25df45a116cd08fd04fe7b4692451..bf069ce319422c573d7ed78b16114939b6f96926 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -596,12 +596,12 @@ void Heap::ExternalStringTable::Verify() {
|
| for (int i = 0; i < new_space_strings_.length(); ++i) {
|
| Object* obj = Object::cast(new_space_strings_[i]);
|
| DCHECK(heap_->InNewSpace(obj));
|
| - DCHECK(obj != heap_->the_hole_value());
|
| + DCHECK(!obj->IsTheHole(heap_->isolate()));
|
| }
|
| for (int i = 0; i < old_space_strings_.length(); ++i) {
|
| Object* obj = Object::cast(old_space_strings_[i]);
|
| DCHECK(!heap_->InNewSpace(obj));
|
| - DCHECK(obj != heap_->the_hole_value());
|
| + DCHECK(!obj->IsTheHole(heap_->isolate()));
|
| }
|
| #endif
|
| }
|
|
|