[runtime] Made IsInstanceOfClassFast pure function
This commit is contained in:
@@ -108,6 +108,7 @@ extern const TypeInfo* theUnitTypeInfo;
|
|||||||
extern const TypeInfo* theWorkerBoundReferenceTypeInfo;
|
extern const TypeInfo* theWorkerBoundReferenceTypeInfo;
|
||||||
|
|
||||||
KBoolean IsInstance(const ObjHeader* obj, const TypeInfo* type_info) RUNTIME_PURE;
|
KBoolean IsInstance(const ObjHeader* obj, const TypeInfo* type_info) RUNTIME_PURE;
|
||||||
|
KBoolean IsInstanceOfClassFast(const ObjHeader* obj, int32_t lo, int32_t hi) RUNTIME_PURE;
|
||||||
void CheckCast(const ObjHeader* obj, const TypeInfo* type_info);
|
void CheckCast(const ObjHeader* obj, const TypeInfo* type_info);
|
||||||
KBoolean IsArray(KConstRef obj) RUNTIME_PURE;
|
KBoolean IsArray(KConstRef obj) RUNTIME_PURE;
|
||||||
bool IsSubInterface(const TypeInfo* thiz, const TypeInfo* other) RUNTIME_PURE;
|
bool IsSubInterface(const TypeInfo* thiz, const TypeInfo* other) RUNTIME_PURE;
|
||||||
|
|||||||
Reference in New Issue
Block a user