1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Type fixes

This commit is contained in:
Brian Fiete 2021-01-13 06:00:29 -08:00
parent 8f3060fd3c
commit df1404e14b

View file

@ -3308,7 +3308,7 @@ bool CeContext::WriteConstant(BfModule* module, addr_ce addr, BfConstant* consta
}
}
if (constant->mConstType == BfTypeCode_StringId)
if (constant->mTypeCode == BfTypeCode_StringId)
{
addr_ce strAddr = GetString(constant->mInt32);
@ -6460,7 +6460,7 @@ BfMethodInstance* CeMachine::GetMethodInstance(int64 methodHandle)
{
BfMethodInstance* methodInstance = (BfMethodInstance*)(intptr)methodHandle;
if (!mMethodInstanceSet.Contains(methodInstance))
return false;
return NULL;
return methodInstance;
}