mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed some undefs
This commit is contained in:
parent
156e3dd2fa
commit
8d3d4e71ea
3 changed files with 18 additions and 0 deletions
|
@ -1950,6 +1950,12 @@ void BfIRBuilder::Write(const BfIRValue& irValue)
|
|||
Write(constant->mInt64);
|
||||
}
|
||||
break;
|
||||
case (int)BfConstType_Undef:
|
||||
{
|
||||
auto undefConst = (BfConstantUndef*)constant;
|
||||
Write(undefConst->mType);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
BF_FATAL("Unhandled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue