| Index: runtime/vm/raw_object.h
|
| ===================================================================
|
| --- runtime/vm/raw_object.h (revision 28360)
|
| +++ runtime/vm/raw_object.h (working copy)
|
| @@ -401,6 +401,7 @@
|
| static bool IsTypedDataViewClassId(intptr_t index);
|
| static bool IsExternalTypedDataClassId(intptr_t index);
|
| static bool IsImplementationClassId(intptr_t index);
|
| + static bool IsInternalVMdefinedClassId(intptr_t index);
|
|
|
| static intptr_t NumberOfTypedDataClasses();
|
|
|
| @@ -1707,6 +1708,12 @@
|
| }
|
|
|
|
|
| +inline bool RawObject::IsInternalVMdefinedClassId(intptr_t index) {
|
| + return ((index < kNumPredefinedCids) &&
|
| + !RawObject::IsTypedDataViewClassId(index));
|
| +}
|
| +
|
| +
|
| inline intptr_t RawObject::NumberOfTypedDataClasses() {
|
| // Make sure this is updated when new TypedData types are added.
|
| ASSERT(kTypedDataInt8ArrayViewCid == kTypedDataInt8ArrayCid + 12);
|
|
|