mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Another const equality fix
This commit is contained in:
parent
a713905411
commit
7788ff7ff1
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ int BfIRConstHolder::CheckConstEquality(BfIRValue lhs, BfIRValue rhs)
|
||||||
|
|
||||||
if ((constLHS->mTypeCode >= BfTypeCode_Boolean) && (constLHS->mTypeCode <= BfTypeCode_Double))
|
if ((constLHS->mTypeCode >= BfTypeCode_Boolean) && (constLHS->mTypeCode <= BfTypeCode_Double))
|
||||||
{
|
{
|
||||||
return (constLHS->mUInt64 == constRHS->mUInt16) ? 1 : 0;
|
return (constLHS->mUInt64 == constRHS->mUInt64) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (constLHS->mConstType == BfConstType_Array)
|
if (constLHS->mConstType == BfConstType_Array)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue