|
@@ -3448,6 +3448,8 @@ void BeIRCodeGen::HandleNextCmd()
|
|
CMD_PARAM(bool, alwaysPreserve);
|
|
CMD_PARAM(bool, alwaysPreserve);
|
|
CMD_PARAM(int, flags);
|
|
CMD_PARAM(int, flags);
|
|
|
|
|
|
|
|
+ BF_ASSERT(type != NULL);
|
|
|
|
+
|
|
auto dbgFunc = (BeDbgFunction*)scope;
|
|
auto dbgFunc = (BeDbgFunction*)scope;
|
|
|
|
|
|
auto dbgVar = mBeModule->mOwnedValues.Alloc<BeDbgVariable>();
|
|
auto dbgVar = mBeModule->mOwnedValues.Alloc<BeDbgVariable>();
|
|
@@ -3498,6 +3500,8 @@ void BeIRCodeGen::HandleNextCmd()
|
|
CMD_PARAM(BeMDNode*, type);
|
|
CMD_PARAM(BeMDNode*, type);
|
|
CMD_PARAM(int, initType);
|
|
CMD_PARAM(int, initType);
|
|
|
|
|
|
|
|
+ BF_ASSERT(type != NULL);
|
|
|
|
+
|
|
auto dbgVar = mBeModule->mOwnedValues.Alloc<BeDbgVariable>();
|
|
auto dbgVar = mBeModule->mOwnedValues.Alloc<BeDbgVariable>();
|
|
dbgVar->mName = name;
|
|
dbgVar->mName = name;
|
|
dbgVar->mType = type;
|
|
dbgVar->mType = type;
|