Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index b844da731e1a9919f9c25e76b961ca5bb64acf1e..7c7f0940067ad7500c80d1ed416f38c818e7f192 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1219,7 +1219,7 @@ void JSObject::ValidateSmiOnlyElements() { |
map != heap->free_space_map()) { |
for (int i = 0; i < fixed_array->length(); i++) { |
Object* current = fixed_array->get(i); |
- ASSERT(current->IsSmi() || current->IsTheHole()); |
+ ASSERT(current->IsSmi() || current == heap->the_hole_value()); |
} |
} |
} |