Home | History | Annotate | Download | only in cctest

Lines Matching full:layout_desc

126   LayoutDescriptor* layout_desc = LayoutDescriptor::FastPointerLayout();
128 CHECK(!layout_desc->IsSlowLayout());
129 CHECK(layout_desc->IsFastPointerLayout());
130 CHECK_EQ(kSmiValueSize, layout_desc->capacity());
133 CHECK_EQ(true, layout_desc->IsTagged(i));
135 CHECK_EQ(true, layout_desc->IsTagged(-1));
136 CHECK_EQ(true, layout_desc->IsTagged(-12347));
137 CHECK_EQ(true, layout_desc->IsTagged(15635));
138 CHECK(layout_desc->IsFastPointerLayout());
141 layout_desc = layout_desc->SetTaggedForTesting(i, false);
142 CHECK_EQ(false, layout_desc->IsTagged(i));
143 layout_desc = layout_desc->SetTaggedForTesting(i, true);
144 CHECK_EQ(true, layout_desc->IsTagged(i));
146 CHECK(layout_desc->IsFastPointerLayout());
149 CHECK_EQ(true, layout_desc->IsTagged(0, std::numeric_limits<int>::max(),
153 CHECK_EQ(true, layout_desc->IsTagged(0, 7, &sequence_length));
229 LayoutDescriptor* layout_desc = *layout_descriptor;
232 layout_desc = layout_desc->SetTaggedForTesting(i, false);
233 CHECK_EQ(false, layout_desc->IsTagged(i));
234 layout_desc = layout_desc->SetTaggedForTesting(i, true);
235 CHECK_EQ(true, layout_desc->IsTagged(i));
237 CHECK(layout_desc->IsSlowLayout());
238 CHECK(!layout_desc->IsFastPointerLayout());
250 LayoutDescriptor* layout_desc = *layout_descriptor;
262 layout_desc = layout_desc->SetTaggedForTesting(i, tagged);
266 if (layout_desc->IsFastPointerLayout()) {
279 CHECK_EQ(tagged, layout_desc->IsTagged(i));
283 if (next_bit_flip_position < layout_desc->capacity()) {
287 : (layout_desc->capacity() - i);
293 layout_desc->IsTagged(i, max_sequence_length, &sequence_length));
301 layout_desc->IsTagged(layout_descriptor_length,
310 LayoutDescriptor* layout_desc = LayoutDescriptor::FastPointerLayout();
314 layout_desc->IsTagged(i, max_sequence_length, &sequence_length));
587 LayoutDescriptor* layout_desc = *layout_descriptor;
588 CHECK_EQ(layout_desc, LayoutDescriptor::cast(layout_desc));
589 CHECK_EQ(layout_desc, LayoutDescriptor::cast_gc_safe(layout_desc));
592 MapWord map_word = layout_desc->map_word();
594 layout_desc->set_map_word(
596 CHECK(layout_desc->map_word().IsForwardingAddress());
598 LayoutDescriptor::cast_gc_safe(layout_desc));
601 layout_desc->set_map_word(map_word);
602 CHECK_EQ(layout_desc, LayoutDescriptor::cast(layout_desc));
779 LayoutDescriptor* layout_desc = map->layout_descriptor();
781 if (layout_desc->IsSlowLayout()) {
783 CHECK_EQ(*full_layout_descriptor, layout_desc);
794 !layout_desc->IsTagged(field_index + bit));
796 CHECK(layout_desc->IsTagged(field_index + field_width_in_words));