Files
RedHotRoast-ios/HybridCLRData/LocalIl2CppData-OSXEditor/il2cpp/libil2cpp/metadata/Il2CppGenericContextCompare.cpp
T
2026-07-17 14:03:00 +08:00

21 lines
692 B
C++

#include "il2cpp-config.h"
#include "il2cpp-class-internals.h"
#include "Il2CppGenericContextCompare.h"
#include "Il2CppGenericInstCompare.h"
namespace il2cpp
{
namespace metadata
{
bool Il2CppGenericContextCompare::operator()(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2) const
{
return gc1 == gc2 || Compare(gc1, gc2);
}
bool Il2CppGenericContextCompare::Compare(const Il2CppGenericContext* gc1, const Il2CppGenericContext* gc2)
{
return Il2CppGenericInstCompare::Compare(gc1->class_inst, gc2->class_inst) && Il2CppGenericInstCompare::Compare(gc1->method_inst, gc2->method_inst);
}
} /* namespace vm */
} /* namespace il2cpp */