Commit Graph

24 Commits

Author SHA1 Message Date
pjh123 8c87f5e5fa fix: 修复块级闭包 TDZ 占位与调用窗口踩踏及 for-of 迭代器展开 2026-10-18 22:32:58 +00:00
pjh123 e5db10581e feat: 函数代理 apply 与 construct trap 路由落地 2026-10-17 07:53:31 +00:00
pjh123 97779b901a feat: Function.prototype 调用返回 undefined 且动态函数 prototype 不可配置 2026-10-16 12:22:01 +00:00
pjh123 e154b12126 perf: CallFrame 构造 this 判别位并入 bool 组省 8 字节 2026-10-13 08:18:34 +00:00
pjh123 d026ea626e perf: run 装载期常量转换与 si 侧表改 Vm 模块级缓存 2026-10-12 19:47:16 +00:00
pjh123 91991c3802 style: 自动格式化 2026-10-12 19:12:13 +00:00
pjh123 05b9b280cf refactor: 写路径契约与压帧与异步标志组收结构体并删死参 2026-10-12 19:12:11 +00:00
pjh123 2b18c4d264 feat: mapped arguments defineProperty 后参数与 arguments 再同步 2026-10-09 23:27:18 +00:00
pjh123 4f6bd5d947 feat: 函数名登记为作用域内不可写绑定并按帧槽写入函数对象 2026-10-09 21:32:51 +00:00
pjh123 c6bc93a076 refactor: realm 与 Vm 生命周期解耦,Vm 持 Arc<Realm> 2026-10-07 01:35:16 +00:00
pjh123 14ef287a75 refactor: 提取 Realm 组合类型,session 与 GC 及原型槽归 realm 2026-10-07 00:13:24 +00:00
pjh123 59afe010cd perf: 实参打包缓冲回退 Vec(A/B 实测无可测收益) 2026-10-05 08:51:57 +00:00
pjh123 1711ae948b perf: 对象统一入口 Box 化合并对象表退役晋升档 2026-10-01 06:39:51 +00:00
pjh123 87d43cd180 refactor: 对象分配统一入口并新增会话分配入口 2026-09-29 14:23:07 +00:00
pjh123 b3255faa46 perf: 压帧时固化 callee upvalue 表,热路径免每指令重查 2026-09-28 17:24:10 +00:00
pjh123 f8722ca91d fix: sloppy 函数调用原始值 this 按规范盒装为包装对象 2026-09-27 00:49:22 +00:00
pjh123 717960a9e8 perf: upvalue 读取缓存 callee 切片指针省解引用链 2026-09-26 20:30:53 +00:00
pjh123 6a9ae54e5d perf: native 同步调用实参打包改栈内 SmallVec 免堆分配 2026-09-26 16:58:12 +00:00
pjh123 dce132acec fix: TA 构造形态改读构造入口标记替代寄存器推断 2026-09-22 19:41:55 +00:00
pjh123 b876495c00 fix: native 分支返回补镜像重载使外层裸读与 A 侧一致 2026-09-20 05:12:14 +00:00
pjh123 1d7561d07c fix: 恢复边界镜像重载跳过 native pack 实参区 2026-09-19 19:26:06 +00:00
pjh123 38d710cf04 docs: 改写虚拟机调度与属性域注释
vm/mod.rs:补模块头,说明基于寄存器的执行状态、寄存器文件、调用栈
与 session 内存及子模块职责;为 MAX_PROTO_CHAIN_DEPTH、
format_error_message、is_object_prototype 补文档。
vm/call.rs:为 is_session_ptr、alloc_object 补文档;为
call_function_sync、push_bytecode_frame 补五段式文档,写清 native/字节码
统一同步调用与统一压帧的步骤、边界和副作用。
vm/gc_hooks.rs:为 for_each_root、maybe_collect_session_gc 补文档。
vm/props.rs:property_key_si 首现展开字符串 intern id;为
array_index_from_property_key、resolve_property、get_own_property_slot
补文档。
2026-09-17 13:29:22 +00:00
pjh123 7a5b1b2d06 refactor: vm.rs 内联测试按属主模块归位 2026-09-16 17:07:29 +00:00
pjh123 d368b2f61e refactor: VM 主实现非派发段按职责拆入 vm 子模块 2026-09-16 16:39:30 +00:00