fix(irgen): 改了寄存器输出
This commit is contained in:
@@ -30,7 +30,7 @@ class Context {
|
|||||||
std::shared_ptr<Type> int32_;
|
std::shared_ptr<Type> int32_;
|
||||||
std::shared_ptr<Type> ptr_i32_;
|
std::shared_ptr<Type> ptr_i32_;
|
||||||
std::unordered_map<int, std::unique_ptr<ConstantInt>> const_ints_;
|
std::unordered_map<int, std::unique_ptr<ConstantInt>> const_ints_;
|
||||||
int temp_index_ = 0;
|
int temp_index_ = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
Context& DefaultContext();
|
Context& DefaultContext();
|
||||||
|
|||||||
Reference in New Issue
Block a user