| Index: test/cctest/test-unboxed-doubles.cc
|
| diff --git a/test/cctest/test-unboxed-doubles.cc b/test/cctest/test-unboxed-doubles.cc
|
| index a5c225e3606c3c0f70fc62ad1e250b207b365f80..75e7d5ae8394d23c3e1dd20073270793549f7133 100644
|
| --- a/test/cctest/test-unboxed-doubles.cc
|
| +++ b/test/cctest/test-unboxed-doubles.cc
|
| @@ -581,7 +581,7 @@
|
| LayoutDescriptor* layout_desc = *layout_descriptor;
|
| CHECK_EQ(layout_desc, LayoutDescriptor::cast(layout_desc));
|
| CHECK_EQ(layout_desc, LayoutDescriptor::cast_gc_safe(layout_desc));
|
| - CHECK(layout_descriptor->IsJSTypedArray());
|
| + CHECK(layout_descriptor->IsFixedTypedArrayBase());
|
| // Now make it look like a forwarding pointer to layout_descriptor_copy.
|
| MapWord map_word = layout_desc->map_word();
|
| CHECK(!map_word.IsForwardingAddress());
|
| @@ -935,7 +935,7 @@
|
| CHECK(map->layout_descriptor()->IsConsistentWithMap(*map, true));
|
| CHECK(map->layout_descriptor()->IsSlowLayout());
|
| CHECK(map->owns_descriptors());
|
| - CHECK_EQ(2, Smi::cast(map->layout_descriptor()->length())->value());
|
| + CHECK_EQ(2, map->layout_descriptor()->length());
|
|
|
| {
|
| // Add transitions to double fields.
|
| @@ -954,7 +954,7 @@
|
| CHECK_EQ(map->layout_descriptor(), tmp_map->layout_descriptor());
|
| }
|
| CHECK(map->layout_descriptor()->IsSlowLayout());
|
| - CHECK_EQ(4, Smi::cast(map->layout_descriptor()->length())->value());
|
| + CHECK_EQ(4, map->layout_descriptor()->length());
|
|
|
| // The unused tail of the layout descriptor is now "durty" because of sharing.
|
| CHECK(map->layout_descriptor()->IsConsistentWithMap(*map));
|
| @@ -974,7 +974,7 @@
|
| CHECK_EQ(map->NumberOfOwnDescriptors(),
|
| map->instance_descriptors()->number_of_descriptors());
|
| CHECK(map->layout_descriptor()->IsSlowLayout());
|
| - CHECK_EQ(2, Smi::cast(map->layout_descriptor()->length())->value());
|
| + CHECK_EQ(2, map->layout_descriptor()->length());
|
|
|
| {
|
| // Add transitions to tagged fields.
|
|
|