80 {
82
85 }
87#define ARRAY_CASE(Name) case k##Name##Cid:
89#undef ARRAY_CASE
90 case kRecordCid:
91 case kTypeArgumentsCid:
92 return kTagged;
93 case kTypedDataInt8ArrayCid:
94 return kUnboxedInt8;
95 case kOneByteStringCid:
96 case kTypedDataUint8ArrayCid:
97 case kTypedDataUint8ClampedArrayCid:
98 case kExternalTypedDataUint8ArrayCid:
99 case kExternalTypedDataUint8ClampedArrayCid:
100 return kUnboxedUint8;
101 case kTypedDataInt16ArrayCid:
102 return kUnboxedInt16;
103 case kTwoByteStringCid:
104 case kTypedDataUint16ArrayCid:
105 return kUnboxedUint16;
106 case kTypedDataInt32ArrayCid:
107 return kUnboxedInt32;
108 case kTypedDataUint32ArrayCid:
109 return kUnboxedUint32;
110 case kTypedDataInt64ArrayCid:
111 case kTypedDataUint64ArrayCid:
112 return kUnboxedInt64;
113 case kTypedDataFloat32ArrayCid:
114 return kUnboxedFloat;
115 case kTypedDataFloat64ArrayCid:
116 return kUnboxedDouble;
117 case kTypedDataInt32x4ArrayCid:
118 return kUnboxedInt32x4;
119 case kTypedDataFloat32x4ArrayCid:
120 return kUnboxedFloat32x4;
121 case kTypedDataFloat64x2ArrayCid:
122 return kUnboxedFloat64x2;
123 default:
124 FATAL(
"Unexpected array cid %u",
cid);
125 return kTagged;
126 }
127}
#define CLASS_LIST_ARRAYS(V)
const int kNumTypedDataCidRemainders
bool IsTypedDataBaseClassId(intptr_t index)
const int kTypedDataCidRemainderInternal
static const ClassId kFirstTypedDataCid