1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Release mode fix

This commit is contained in:
Brian Fiete 2021-01-19 07:56:18 -08:00
parent c0e19171d4
commit 15c62583a2
4 changed files with 28 additions and 13 deletions

View file

@ -839,7 +839,7 @@ void BeIRCodeGen::Read(BeValue*& beValue)
{
auto val = values[i];
BeConstant* constant = BeValueDynCast<BeConstant>(val);
#ifdef _DEBUG
if (type->IsSizedArray())
{
auto arrayType = (BeSizedArrayType*)type;
@ -882,9 +882,9 @@ void BeIRCodeGen::Read(BeValue*& beValue)
}
constStruct->mMemberValues.Add(constant);
#endif
}
beValue = constStruct;
BE_MEM_END("ParamType_Const_Array");
return;
}
@ -1236,7 +1236,7 @@ void BeIRCodeGen::HandleNextCmd()
}
break;
case BfIRCmd_CreateConstAgg:
{
{
CMD_PARAM(BeType*, type);
CMD_PARAM(CmdParamVec<BeValue*>, values);