fix(irgen): 改了寄存器输出

This commit is contained in:
jing
2026-03-07 22:17:33 +08:00
parent 0ff3d918d9
commit 92f719b7dd

View File

@@ -30,7 +30,7 @@ class Context {
std::shared_ptr<Type> int32_;
std::shared_ptr<Type> ptr_i32_;
std::unordered_map<int, std::unique_ptr<ConstantInt>> const_ints_;
int temp_index_ = 0;
int temp_index_ = -1;
};
Context& DefaultContext();