diff --git a/IDEHelper/Backend/BeIRCodeGen.cpp b/IDEHelper/Backend/BeIRCodeGen.cpp index 940a7dd9..9b5a702f 100644 --- a/IDEHelper/Backend/BeIRCodeGen.cpp +++ b/IDEHelper/Backend/BeIRCodeGen.cpp @@ -1755,7 +1755,7 @@ void BeIRCodeGen::HandleNextCmd() CMD_PARAM(BeType*, varType); CMD_PARAM(bool, isConstant); BfIRLinkageType linkageType = (BfIRLinkageType)mStream->Read(); - CMD_PARAM(String, name); + CMD_PARAM(StringT<256>, name); CMD_PARAM(bool, isTLS); CMD_PARAM(BeConstant*, initializer); diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index 0b223e4d..37729d82 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -5644,6 +5644,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary& usedStrin GetStringObjectValue(stringId); PUSH_INT8(0xFF); // String PUSH_INT32(*orderedIdPtr); + argIdx++; continue; } @@ -5663,6 +5664,7 @@ BfIRValue BfModule::CreateTypeData(BfType* type, Dictionary& usedStrin GetStringObjectValue(stringId); PUSH_INT8(0xFF); // String PUSH_INT32(*orderedIdPtr); + argIdx++; continue; } }