mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Remove invalid assert
This commit is contained in:
parent
b609ff68b1
commit
9ef776a914
1 changed files with 0 additions and 2 deletions
|
@ -13879,8 +13879,6 @@ BfIRValue BfModule::CastToValue(BfAstNode* srcNode, BfTypedValue typedVal, BfTyp
|
||||||
if (mIsComptimeModule)
|
if (mIsComptimeModule)
|
||||||
return mBfIRBuilder->GetUndefConstValue(mBfIRBuilder->MapType(toType));
|
return mBfIRBuilder->GetUndefConstValue(mBfIRBuilder->MapType(toType));
|
||||||
|
|
||||||
BF_ASSERT(mBfIRBuilder->mIgnoreWrites);
|
|
||||||
|
|
||||||
auto undefConst = (BfConstantUndef*)constant;
|
auto undefConst = (BfConstantUndef*)constant;
|
||||||
|
|
||||||
BfType* bfType = NULL;
|
BfType* bfType = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue