From 1e74451534fa6c6b657360a40c7005b379f9d2ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Chmiel?= Date: Mon, 5 May 2025 11:25:39 +0200 Subject: [PATCH] Internals: Change naming convention for Vthread funcs (#5982) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bartłomiej Chmiel --- src/V3ExecGraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3ExecGraph.cpp b/src/V3ExecGraph.cpp index f3e69a89a..4052f7836 100644 --- a/src/V3ExecGraph.cpp +++ b/src/V3ExecGraph.cpp @@ -771,8 +771,8 @@ const std::vector createThreadFunctions(const ThreadSchedule& schedul for (const std::vector& thread : schedule.threads) { if (thread.empty()) continue; const uint32_t threadId = schedule.threadId(thread.front()); - const string name{"__Vthread__" + tag + "__t" + cvtToStr(threadId) + "__s" - + cvtToStr(schedule.id())}; + const string name{"__Vthread__" + tag + "__s" + cvtToStr(schedule.id()) + "__t" + + cvtToStr(threadId)}; AstCFunc* const funcp = new AstCFunc{fl, name, nullptr, "void"}; modp->addStmtsp(funcp); funcps.push_back(funcp);