Lines Matching refs:instance_type
77 HeapObject::cast(this)->map()->instance_type() == instancetype; \
194 && HeapObject::cast(this)->map()->instance_type() < FIRST_NONSTRING_TYPE;
210 && HeapObject::cast(this)->map()->instance_type() >= FIRST_SPEC_OBJECT_TYPE;
216 InstanceType type = HeapObject::cast(this)->map()->instance_type();
223 uint32_t type = HeapObject::cast(this)->map()->instance_type();
300 : type_(str->map()->instance_type()) {
307 : type_(map->instance_type()) {
329 uint32_t type = map()->instance_type();
335 uint32_t type = map()->instance_type();
341 uint32_t type = map()->instance_type();
357 uint32_t type = map()->instance_type();
373 uint32_t type = map()->instance_type();
479 InstanceType instance_type = HeapObject::cast(this)->map()->instance_type();
480 return instance_type == FREE_SPACE_TYPE || instance_type == FILLER_TYPE;
490 InstanceType instance_type =
491 HeapObject::cast(this)->map()->instance_type();
492 return (instance_type >= FIRST_EXTERNAL_ARRAY_TYPE &&
493 instance_type <= LAST_EXTERNAL_ARRAY_TYPE);
548 HeapObject::cast(this)->map()->instance_type() >= FIRST_JS_RECEIVER_TYPE;
555 HeapObject::cast(this)->map()->instance_type() >= FIRST_JS_OBJECT_TYPE;
561 instance_type();
802 (HeapObject::cast(this)->map()->instance_type() ==
812 InstanceType type = HeapObject::cast(this)->map()->instance_type();
836 switch (HeapObject::cast(this)->map()->instance_type()) {
848 && HeapObject::cast(this)->map()->instance_type() == NAME##_TYPE; \
1315 if (AllocationSite::CanTrack(map()->instance_type())) {
1666 InstanceType type = map()->instance_type();
2737 ASSERT(type == string->map()->instance_type());
2769 type = string->map()->instance_type();
2860 int SeqTwoByteString::SeqTwoByteStringSize(InstanceType instance_type) {
2865 int SeqOneByteString::SeqOneByteStringSize(InstanceType instance_type) {
2918 InstanceType type = map()->instance_type();
3044 ASSERT(*type_out == string->map()->instance_type());
3056 ASSERT(string == NULL || *type_out == string->map()->instance_type());
3084 int32_t type = string->map()->instance_type();
3405 int instance_type = static_cast<int>(map->instance_type());
3406 if (instance_type == FIXED_ARRAY_TYPE) {
3409 if (instance_type == ASCII_STRING_TYPE ||
3410 instance_type == ASCII_INTERNALIZED_STRING_TYPE) {
3414 if (instance_type == BYTE_ARRAY_TYPE) {
3417 if (instance_type == FREE_SPACE_TYPE) {
3420 if (instance_type == STRING_TYPE ||
3421 instance_type == INTERNALIZED_STRING_TYPE) {
3425 if (instance_type == FIXED_DOUBLE_ARRAY_TYPE) {
3429 ASSERT(instance_type == CODE_TYPE);
3456 InstanceType Map::instance_type() {
3597 ASSERT(instance_type() < FIRST_JS_OBJECT_TYPE ||
3598 instance_type() > LAST_JS_OBJECT_TYPE ||
4378 ASSERT(instance_type() >= FIRST_JS_RECEIVER_TYPE);
5515 return array->map()->instance_type() == type; \