1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

32-bit methodinfo fix

This commit is contained in:
Brian Fiete 2022-02-12 08:38:46 -05:00
parent e7f0b21cf6
commit fef4274fb8

View file

@ -2607,7 +2607,7 @@ void BfModule::DoCEEmit(BfMethodInstance* methodInstance)
GetConstValue((int64)methodInstance, GetPrimitiveType(BfTypeCode_Int64)), // mNativeMethodInstance
};
FixConstValueParams(methodInfoType->ToTypeInstance(), methodData);
FixConstValueParams(methodInfoType->ToTypeInstance(), methodData, true);
auto fieldDataAgg = mBfIRBuilder->CreateConstAgg(mBfIRBuilder->MapType(methodInfoType, BfIRPopulateType_Identity), methodData);
args.Add(fieldDataAgg);