| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index a3dc19357f13d24a7f0e703a1582938b827f116a..9bcc4df7812b82e38ce638398c0ef3ed16fd9d4b 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -257,7 +257,7 @@ void JSObject::JSObjectVerify() {
|
| (map()->inobject_properties() + properties()->length() -
|
| map()->NextFreePropertyIndex()));
|
| }
|
| - ASSERT_EQ(map()->has_fast_elements(),
|
| + ASSERT_EQ((map()->has_fast_elements() || map()->has_fast_smi_only_elements()),
|
| (elements()->map() == GetHeap()->fixed_array_map() ||
|
| elements()->map() == GetHeap()->fixed_cow_array_map()));
|
| ASSERT(map()->has_fast_elements() == HasFastElements());
|
| @@ -319,7 +319,8 @@ void FixedDoubleArray::FixedDoubleArrayVerify() {
|
| double value = get_scalar(i);
|
| ASSERT(!isnan(value) ||
|
| (BitCast<uint64_t>(value) ==
|
| - BitCast<uint64_t>(canonical_not_the_hole_nan_as_double())));
|
| + BitCast<uint64_t>(canonical_not_the_hole_nan_as_double())) ||
|
| + ((BitCast<uint64_t>(value) & Double::kSignMask) != 0));
|
| }
|
| }
|
| }
|
|
|