Revert "可以处理生成加法的IR"

This commit is contained in:
jing
2025-12-29 15:49:30 +08:00
parent e941cced9b
commit 8903bf73f9
42 changed files with 158 additions and 919 deletions

View File

@@ -1,16 +0,0 @@
// 极简符号表:记录局部变量是否定义。
#pragma once
#include <string>
#include <unordered_map>
class SymbolTable {
public:
void Add(const std::string& name) { table_[name] = true; }
bool Contains(const std::string& name) const {
return table_.find(name) != table_.end();
}
private:
std::unordered_map<std::string, bool> table_;
};