fixed inliner

This commit is contained in:
ALEXks
2026-03-19 13:04:26 +03:00
parent 0bec2c6527
commit 18ac53f342
2 changed files with 3 additions and 1 deletions

View File

@@ -1089,6 +1089,8 @@ static int clean(const string& funcName, SgStatement* funcSt, const map<string,
} }
SgGotoStmt* gotoSt = new SgGotoStmt(*contLab); SgGotoStmt* gotoSt = new SgGotoStmt(*contLab);
if (st->label())
gotoSt->setLabel(*st->label());
st->insertStmtBefore(*gotoSt, *st->controlParent()); st->insertStmtBefore(*gotoSt, *st->controlParent());
toDelete.push_back(st); toDelete.push_back(st);

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define VERSION_SPF "2470" #define VERSION_SPF "2471"