mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Type fixes
This commit is contained in:
parent
8f3060fd3c
commit
df1404e14b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue