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:
parent
c0e19171d4
commit
15c62583a2
4 changed files with 28 additions and 13 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue