From 92f719b7dd3578cb8956065f8cd26460a3b4cd77 Mon Sep 17 00:00:00 2001 From: jing <3030349106@qq.com> Date: Sat, 7 Mar 2026 22:17:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(irgen):=20=E6=94=B9=E4=BA=86=E5=AF=84?= =?UTF-8?q?=E5=AD=98=E5=99=A8=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ir/IR.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ir/IR.h b/src/ir/IR.h index 5a9e312..6cfe95a 100644 --- a/src/ir/IR.h +++ b/src/ir/IR.h @@ -30,7 +30,7 @@ class Context { std::shared_ptr int32_; std::shared_ptr ptr_i32_; std::unordered_map> const_ints_; - int temp_index_ = 0; + int temp_index_ = -1; }; Context& DefaultContext();