fix(irgen): 规范irgen实现

This commit is contained in:
jing
2026-03-11 01:15:13 +08:00
parent 11f192cd10
commit a44a409d16
7 changed files with 51 additions and 44 deletions

View File

@@ -5,8 +5,6 @@
namespace ir {
ConstantInt::ConstantInt(int v) : Value(Type::Int32(), ""), value_(v) {
set_name(std::to_string(v));
}
ConstantInt::ConstantInt(int v) : Value(Type::Int32(), ""), value_(v) {}
} // namespace ir