[backend]完善异步执行的超时切断机制

This commit is contained in:
Lixuanwang
2025-08-18 22:50:14 +08:00
parent 0720a622c1
commit babb576317
3 changed files with 44 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ public:
RISCv64RegAlloc(MachineFunction* mfunc);
// 模块主入口
bool run();
bool run(std::shared_ptr<std::atomic<bool>> stop_flag);
private:
// 类型定义与Python版本对应