TermiNexus
9ff5a3a03e
fix(gen): 泛型类构造复用 new 描述符存储,并支持泛型下标 callee
- _translate_generic_ctor_call 之前一律 _alloca_at_entry:new memgr(pool) hlife list[int](...) 会忽略描述符给的内存、把对象构造到栈上、返回栈地址(静默悬垂)。改为与 _translate_struct_ctor 同款:tmp = _g_new_storage,为空才回落 alloca。
- _translate_new_expr 支持泛型下标 callee(Box[int]):新增 _specialize_new_generic_class 先特化模板拿具体类名,再走同一条取存储路径。
2026-10-08 21:04:41 +08:00
..
2026-10-08 21:04:41 +08:00
2026-10-08 20:34:11 +08:00
2026-10-08 20:03:42 +08:00
2026-10-08 20:34:11 +08:00
2026-10-08 21:04:33 +08:00
2026-10-08 16:38:35 +08:00
2026-10-05 13:38:22 +08:00
2026-10-08 20:34:11 +08:00
2026-10-08 20:42:09 +08:00
2026-10-05 17:38:28 +08:00
2026-10-07 00:03:58 +08:00
2026-10-08 17:28:06 +08:00
2026-10-05 17:38:28 +08:00
2026-10-08 12:22:10 +08:00
2026-10-07 00:03:58 +08:00
2026-10-07 00:03:58 +08:00
2026-10-08 17:28:06 +08:00
2026-10-08 20:42:09 +08:00
2026-10-07 19:03:16 +08:00
2026-10-08 20:34:11 +08:00