Commit Graph
2 Commits
Author SHA1 Message Date
zzy 480945a92f ai: stage1 unify IR values and globals
- add spl_ir_value_t (INST/CONST/GLOBAL) and global table
- remove mem.global_alloc and global.ref instructions
- dedup byte constants in a program-level pool
- zero-init aggregate literals in ast2ir; honor undefined
- C backend: fix zero-arg main return, extern prototypes/varargs
- fix dangling inline-module method names (0018 flake)
2026-12-02 22:41:20 +08:00
zzy e531aab2d3 ai: 重新设计stage1的spl 让ai重构代码 2026-12-02 12:40:36 +08:00