Commit Graph

18 Commits

Author SHA1 Message Date
pjh123 48ffb54c4f feat: 七类作用域出口正常释放 using 资源,for-of 每迭代 2026-10-09 18:40:24 +00:00
pjh123 0c277aac10 feat: try 语句压边界帧,空体内 break/continue 完成值物化 undefined 2026-10-09 10:04:23 +00:00
pjh123 2b565a4996 refactor: 移除 lexical 预声明函数的死参数 global_lexical 2026-09-28 19:12:13 +00:00
pjh123 28ccbebd52 fix: break/continue 携当前语句列表累积值且循环出口值按迭代回写 2026-09-20 12:19:52 +00:00
pjh123 2b0238f310 fix: catch 参数名补入捕获扫描且 catch 入口新 cell 2026-09-20 04:46:41 +00:00
pjh123 e4b17d2ecf fix: 块级异步与生成器函数声明不再泄漏全局 2026-09-17 22:08:56 +00:00
pjh123 c50eb9e566 fix: 复合语句域收敛真实完成值,空体物化 undefined 不沿用前值 2026-09-14 22:51:29 +00:00
pjh123 6aff1101f3 fix: 顶层受限全局名 lexical 声明编译期拒绝——let/const undefined|NaN|Infinity 撞 GDI 三常量 SyntaxError 2026-09-12 22:45:24 +00:00
pjh123 abeab6f216 fix: finally 体直落进入时置位 finally_active 防完成穿越计数错乱
catch 体正常结束后指令直落入 finally 体,此前 finally_active 未被置位,
finally 内 break/continue/return/throw 触发未进入分支导致 finally 体重复
执行、完成计数错乱。新增无操作数标记指令 TRY_FINALLY_ENTER,在 finally
体入口统一置位栈顶 handler 的 finally_active,覆盖 JMP/直落/unwind/完成
穿越/挂起恢复全部进入路径,并删除 control_flow.rs 中对跳转目标匹配的
脆弱栈顶检测。
2026-08-15 07:47:54 +08:00
pjh123 973778f181 fix: 块级 let/const/class 预声明 + TDZ 读取运行时抛 ReferenceError 2026-08-10 21:07:39 +08:00
pjh123 80cb1c2feb feat: 循环 let/const 每迭代绑定(MAKE_CELL_FRESH + 解构捕获修复) 2026-08-10 10:18:39 +08:00
pjh123 a0c271ef3c fix: try 内 return 泄漏 TryHandler,异常跳回死函数 catch 死循环 2026-08-09 07:41:34 +08:00
pjh123 cd214069cd fix: try/finally 支持 break/continue/return 穿越 finally(completion 机制) 2026-08-08 12:38:25 +08:00
pjh123 38c569c1da fix: catch 参数支持解构 pattern(数组/对象/默认值) 2026-08-07 16:27:48 +08:00
pjh123 31e28a03a6 docs: 补充注释与格式化 2026-08-06 23:10:27 +08:00
pjh123 224d1347eb refactor: 寄存器号 u8→u32 全链放宽,vreg 化去 checkpoint/reg_overflow 2026-08-06 16:31:16 +08:00
pjh123 263fd255b6 docs: 添加 Rustdoc 注释 2026-08-05 21:46:47 +08:00
pjh123 7c8f19f61a refactor: 拆分 oxide_emit 为独立 emit pass crate(依赖倒置) 2026-08-05 20:13:18 +08:00