3139 {
3142 const bool is_canonical = (cid_and_canonical & 0x1) == 0x1;
3143
3149 return new (
Z) TypedDataViewMessageDeserializationCluster(
cid);
3150 }
3153 return new (
Z) ExternalTypedDataMessageDeserializationCluster(
cid);
3154 }
3157 return new (
Z) TypedDataMessageDeserializationCluster(
cid);
3158 }
3159
3163 return new (
Z) NativePointerMessageDeserializationCluster();
3164 case kClassCid:
3166 return new (
Z) ClassMessageDeserializationCluster();
3167 case kTypeArgumentsCid:
3168 return new (
Z) TypeArgumentsMessageDeserializationCluster(is_canonical);
3169 case kTypeCid:
3170 return new (
Z) TypeMessageDeserializationCluster(is_canonical);
3171 case kSmiCid:
3173 return new (
Z) SmiMessageDeserializationCluster();
3174 case kMintCid:
3175 return new (
Z) MintMessageDeserializationCluster(is_canonical);
3176 case kDoubleCid:
3177 return new (
Z) DoubleMessageDeserializationCluster(is_canonical);
3178 case kGrowableObjectArrayCid:
3180 return new (
Z) GrowableObjectArrayMessageDeserializationCluster();
3181 case kSendPortCid:
3183 return new (
Z) SendPortMessageDeserializationCluster();
3184 case kCapabilityCid:
3186 return new (
Z) CapabilityMessageDeserializationCluster();
3187 case kTransferableTypedDataCid:
3189 return new (
Z) TransferableTypedDataMessageDeserializationCluster();
3190 case kMapCid:
3191 case kConstMapCid:
3192 return new (
Z) MapMessageDeserializationCluster(is_canonical,
cid);
3193 case kSetCid:
3194 case kConstSetCid:
3195 return new (
Z) SetMessageDeserializationCluster(is_canonical,
cid);
3196 case kArrayCid:
3197 case kImmutableArrayCid:
3198 return new (
Z) ArrayMessageDeserializationCluster(is_canonical,
cid);
3199 case kOneByteStringCid:
3200 return new (
Z) OneByteStringMessageDeserializationCluster(is_canonical);
3201 case kTwoByteStringCid:
3202 return new (
Z) TwoByteStringMessageDeserializationCluster(is_canonical);
3203 case kInt32x4Cid:
3204 case kFloat32x4Cid:
3205 case kFloat64x2Cid:
3207 return new (
Z) Simd128MessageDeserializationCluster(
cid);
3208 default:
3209 break;
3210 }
3211
3212 FATAL(
"No cluster defined for cid %" Pd,
cid);
3213 return nullptr;
3214}
bool IsTypedDataViewClassId(intptr_t index)
bool IsTypedDataClassId(intptr_t index)
bool IsUnmodifiableTypedDataViewClassId(intptr_t index)
@ kUnmodifiableByteDataViewCid
constexpr uint32_t kMaxUint32
bool IsExternalTypedDataClassId(intptr_t index)