fix: 技术债修复 — codegen malloc→arena + .codegraphignore

- codegen.c: VarEntry/FnEntry/ptypes 全部改用 arena_alloc,消除 malloc/free
- codegen_module 新增 Arena* 参数,main.c 传入主 arena
- 新增 .codegraphignore 排除 build/ 和 .codegraph/
- 基于 Codex 分析报告第7节技术债务
This commit is contained in:
2026-06-05 00:37:54 +08:00
parent 3b7bab1e1b
commit f8c5e18188
5 changed files with 353 additions and 9 deletions
+2
View File
@@ -0,0 +1,2 @@
build/
.codegraph/