[IR]:增加默认添加ret指令逻辑

This commit is contained in:
rain2133
2025-07-15 12:53:03 +08:00
parent e576f0a21e
commit ede6465e8c
6 changed files with 21 additions and 1613 deletions

View File

@@ -62,6 +62,8 @@ private:
public:
SysYIRGenerator() = default;
bool HasReturnInst;
public:
Module *get() const { return module.get(); }
IRBuilder *getBuilder(){ return &builder; }