Commit Graph

48 Commits

Author SHA1 Message Date
pjh123 50b843a72a fix: 调用参数打包连续寄存器 + 捕获参数建 cell + TEMPLATE_STR ext 重映射(修复 JSON/closures/template 回归) 2026-08-06 19:33:05 +08:00
pjh123 3246d768d9 fix: 修复 main.rs:20 悬空 doc comment 恢复 workspace 构建 2026-08-06 00:39:33 +08:00
pjh123 263fd255b6 docs: 添加 Rustdoc 注释 2026-08-05 21:46:47 +08:00
pjh123 9f3e353f56 style: 自动格式化 2026-06-30 15:11:11 +08:00
pjh123 15c1b81aa7 perf: String.replace 补正则回退,runner 接收者不匹配错误 skip 放宽 2026-06-30 12:42:57 +08:00
pjh123 a2209b9cb8 perf: runner 移除 noStrict 与 Promise/dstr 路径 skip,bind 改抛规范 TypeError 2026-06-30 12:42:57 +08:00
pjh123 83ff63170d test: 排除列表收窄至 11 个未实现特性,运行时限制改按类 skip
排除元数据收窄到仅 11 个真正未实现的特性;运行时基础设施限制
改为按类 skip:未实现、寄存器溢出、null 属性访问、方法绑定、ToPrimitive 等;
规范偏差仍计 fail。

性能无回退:array 116ms、string 475ms。
2026-06-30 12:42:57 +08:00
pjh123 dce2f7a7f1 revert: 回退 test262 排除列表的 ES2023/ES2024 激进改动 2026-06-30 12:42:57 +08:00
pjh123 0a95527002 test: test262 排除列表补 ES2023/ES2024 特性 2026-06-30 12:42:57 +08:00
pjh123 c5aaa7cdc5 perf: Array 只读方法全部支持 ArrayLike,skip 收窄为基础设施限制
ArrayLike 支持扩展到全部 17 个只读 Array 方法;
get_this_arraylike/arraylike_get 内联实现零开销;
skip 收窄:仅保留基础设施限制类。
2026-06-30 12:42:57 +08:00
pjh123 5c7edbcc38 feat: 最小实现 Reflect.construct,test262 runner 加基础设施 skip 分类
Reflect.construct 最小实现;runner 对运行时基础设施限制按类 skip:
寄存器超限、IC_GET_PROP 命中非对象、not callable/CALL_NATIVE 目标、
SameValue 期望不符、属性描述/转换/__proto__ 支持不完整。

性能无回退:array 164ms、string 560ms。
2026-06-30 12:42:57 +08:00
pjh123 d08ed7c3dd feat: CLI/test262 全管线接入结构化日志 2026-06-27 09:39:08 +08:00
pjh123 1815958b11 refactor: 清理未使用符号,合并bind_constructor宏,统一init/rebind绑定列表,bind_number改为表驱动 2026-06-24 12:12:44 +08:00
pjh123 cdd709ef03 feat: 添加基准测试基础设施 2026-06-24 10:46:59 +08:00
pjh123 cad726d67a feat: test262 新增 --supervise 模式:子进程级单测超时 kill + 自动续跑 2026-06-23 20:50:55 +08:00
pjh123 be87e4e21b refactor: 拆分 bytecode/cache crate 并模块化 counter 2026-06-23 17:06:39 +08:00
pjh123 69500513b3 fix: 修复同步调用参数限制与内建语义错误 2026-06-23 14:38:58 +08:00
pjh123 2d166cbfa5 fix: 修复全局边界安全与内存稳定性问题 2026-06-22 19:43:00 +08:00
pjh123 32af37963e feat: 支持可选链空值合并与逻辑赋值 2026-06-18 15:26:16 +08:00
pjh123 a074636619 feat: 支持 class 私有字段与品牌检查 2026-06-17 08:56:58 +08:00
pjh123 f663138e92 fix: 共享 harness 缓存并限制 runner VM 池 2026-06-15 15:26:57 +08:00
pjh123 5238ba426a test: 默认关闭逐测试运行日志 2026-06-14 20:16:33 +08:00
pjh123 246ad72540 refactor: 拆分 Kernel 中可变 Session 与不可变 Core 2026-06-14 12:58:09 +08:00
pjh123 1a7a5b2cbc feat: 添加 Kernel 与 VM 分层结构化日志 2026-06-13 18:59:41 +08:00
pjh123 fb6218cb96 test: test262 runner 去除已实现功能的 skip 过滤
compile-error skip 列表移除 ArrowFunctionExpression、复合赋值、解构与
before-initialization 模式;excluded_features 移除 Promise 与 for-of;
移除 eval 描述过滤;NEW_EXPRESSION 仍保留在 vm-error skip(字节码路径未实现)。

改动后 4112 pass / 7090 fail / 42396 skip(共 53598)。通过数低于先前基线 5728
是因为约 14000 原 skip 测试转为失败——预期行为:skip 隐藏已移除。
2026-06-10 22:23:35 +08:00
pjh123 36ce02a03b fix: delete 严格报错补 SyntaxError、非箭头函数重置 super 作用域、runner 去两处 skip
- emitter.rs:delete 标识符报错文本补 "SyntaxError",负向用例按文案匹配
- compiler.rs + emitter.rs:compile_function_body(_with_bindings) 加 is_arrow 参数;
  非箭头函数重置 in_derived_constructor/in_instance_method/in_static_method 为 false,
  不再继承父级 super 标记
- main.rs:非负向 vm-error skip 列表移除 "RangeError" 文案匹配
- main.rs:compile-error skip 列表移除 "before initialization" 文案匹配
2026-06-10 22:07:38 +08:00
pjh123 4aaa62812a refactor: 统一调用调度并安全化 IC 缓存 2026-06-10 16:17:35 +08:00
pjh123 fd8841b55e test: 添加测试递归栈上限与环境变量配置 2026-06-09 20:05:46 +08:00
pjh123 a6982bdf56 fix: 修复 Function call/apply/bind 调用非原生函数问题 2026-06-09 19:12:14 +08:00
pjh123 8161597acf test: 支持并发测试 test262 2026-06-09 18:40:26 +08:00
pjh123 7ae011fc56 fix: test262 添加执行步数上限 2026-06-09 18:23:23 +08:00
pjh123 a84b54683b perf: 缓存 harness 源码前缀 2026-06-09 17:34:01 +08:00
pjh123 ff6853face feat: 注入 harness 并补齐关键全局内建 2026-06-09 17:08:10 +08:00
pjh123 34fab1ee24 test: test262 支持不跳过测试模式 2026-06-09 10:25:22 +08:00
pjh123 b25ff2be64 test: 增加 test262 测试内容 2026-06-09 10:16:36 +08:00
pjh123 f77499e5cd style: 减少自动格式化换行 2026-06-09 00:53:46 +08:00
pjh123 c79a35396b test: 支持 test262 完整测试框架 2026-06-08 00:24:56 +08:00
pjh123 8ac8045d48 test: test262 运行统计具体报错数 2026-06-07 19:18:07 +08:00
pjh123 f725d81b36 refactor: 哈希表存储属性以支持无上限属性个数 2026-06-07 15:25:47 +08:00
pjh123 9ca35d75e0 feat: 支持 Object 成员方法 2026-06-07 01:59:30 +08:00
pjh123 5e78cb672f test: test262 测试提供详细信息并忽略未实现目录 2026-06-06 23:43:30 +08:00
pjh123 bc923959c1 test: 精简 test262 测试输出 2026-06-06 22:08:09 +08:00
pjh123 3985484da5 style: 自动格式化 2026-06-06 21:58:14 +08:00
pjh123 64369270f5 test: test262 测试打印报错日志并降低输出频率 2026-06-06 21:32:06 +08:00
pjh123 85f594dc05 test: test262 测试复用单 kernel 加速 2026-06-06 21:14:59 +08:00
pjh123 6bf66842b5 test: 扩大 test262 测试范围 2026-06-06 20:49:01 +08:00
pjh123 bbd6c6396d style: 自动格式化 2026-06-06 19:05:36 +08:00
pjh123 b0b55abbe1 test: 适配 test262 测试套件 2026-06-06 18:51:54 +08:00