Commit Graph

471 Commits

Author SHA1 Message Date
pjh123 e6a993cd37 feat: 修复 Array.slice 负数索引处理,新增 Array push/pop/shift/unshift/slice 边界测试 2026-06-27 15:28:46 +08:00
pjh123 4f9c591a51 feat: 完成 Object.entries/values/is/getOwnPropertyDescriptor/hasOwnProperty/propertyIsEnumerable 修复 2026-06-27 15:24:16 +08:00
pjh123 dd18499f05 feat: 修复 Object.defineProperties/fromEntries 实现,getPrototypeOf/hasOwn/isExtensible 参数校验 2026-06-27 15:17:37 +08:00
pjh123 af2d11d197 feat: JsObject 新增 frozen/sealed 标志位,修复 freeze/seal/preventExtensions/isFrozen/isSealed/isExtensible 六个完整性方法 2026-06-27 15:12:44 +08:00
pjh123 b85df71019 feat: 新增 to_integer_or_infinity/to_length/same_value_zero 三个 ES 抽象操作辅助函数,修复 objects_keys/create/defineProperty/assign/getOwnPropertyNames 五个方法的 TypeError 处理 2026-06-27 14:42:16 +08:00
pjh123 888d6e2b58 test: 添加类型转换基础设施的 coercion 测试覆盖 2026-06-27 14:15:06 +08:00
pjh123 7ba5da9513 refactor: 用户数字参数改走 coerce_number_bounded,对象参数支持 ToPrimitive 2026-06-27 13:49:37 +08:00
pjh123 27b7e8ad29 refactor: 重写 abstract_eq 为 ES §7.2.15 11 步算法 2026-06-27 13:23:35 +08:00
pjh123 f23d75a63e feat: 实现 Object/Array 的 toString 与 valueOf 2026-06-27 13:22:45 +08:00
pjh123 d387347f80 feat: ToPrimitive 链支持 Symbol.toPrimitive 2026-06-27 11:22:37 +08:00
pjh123 2da5e2f820 feat: 注册 Symbol.toPrimitive well-known symbol 2026-06-27 10:30:25 +08:00
pjh123 d08ed7c3dd feat: CLI/test262 全管线接入结构化日志 2026-06-27 09:39:08 +08:00
pjh123 a1e241e97c Merge remote-tracking branch 'origin/main' 2026-06-27 01:20:10 +08:00
pjh123 f2002d6bae feat: 为 Array/String 原型方法添加入口和错误路径结构化日志,编译器添加阶段边界日志 2026-06-26 21:24:18 +08:00
pjh123 fc59505116 feat: 为内核构造、BuiltinWorld 初始化、ShapeForge/StringForge/CodeForge 添加结构化日志 2026-06-26 21:09:36 +08:00
pjh123 3e7c082293 feat: 为 VM 添加结构化日志 2026-06-26 20:50:05 +08:00
pjh123 e4abfd7599 refactor: 迁出日志宏,移除直接依赖 2026-06-26 18:53:48 +08:00
pjh123 1dae260646 feat: 封装日志基础设施 2026-06-26 18:43:29 +08:00
pjh123 b95824fc9c fix: 统一错误模型 2026-06-26 16:52:14 +08:00
pjh123 59f6e4002a fix: 将同步原生调用参数限制错误消息对齐 ECMAScript 规范措辞 2026-06-26 16:41:21 +08:00
pjh123 f0f7cbc91c refactor: 将 BuiltinSnapshot 重构为数组并引入 BuiltinId 枚举 2026-06-26 16:27:49 +08:00
pjh123 d4fcdeec7b feat: 为 CodeForge 缓存命中添加 debug 字节码一致性验证 2026-06-26 16:20:45 +08:00
pjh123 149daa6e4f feat: 为 ShapeForge 添加 shape_id 溢出 guard 及 HashMap 回退 2026-06-26 16:16:17 +08:00
pjh123 f23d4e61b2 feat: 提取 oxide_builtins 独立 crate,泛型化 <H: VmHost> 2026-06-25 22:38:23 +08:00
pjh123 2f330dbe45 refactor: Symbol/Iter/Profiling 子结构方法下沉,IC helper 完成提取 2026-06-25 22:08:27 +08:00
pjh123 804a516e38 refactor: 完成语法域入口点迁移,收紧内部方法可见性 2026-06-25 21:56:30 +08:00
pjh123 f7bcfd3846 refactor: CompileCtx 拆分为 LabelCtx/ScopeCtx,字面量域改用注册表入口 2026-06-25 19:46:35 +08:00
pjh123 d195d7615c refactor: Vm 状态分组、dispatch 拆分为分发表、IC 辅助函数独立成模块 2026-06-25 19:22:16 +08:00
pjh123 00c38ba5f9 feat: 迁移 NativeResult 2026-06-25 18:32:09 +08:00
pjh123 14f82d2c4d refactor: 用 define_opcodes! 宏统一生成 OpCode 枚举/TryFrom/Display 2026-06-25 18:12:37 +08:00
pjh123 1cab5bde65 perf: 不可变常量改 OnceLock 一次性缓存,删 Constant 死变体并移出 GC 根 2026-06-25 14:32:49 +08:00
pjh123 63737ef74d feat: 增加 CreateRegExp 字节码,正则字面量每次执行创建新对象 2026-06-25 10:28:35 +08:00
pjh123 c378b92d1a feat: 增加 CreateClosure 字节码,函数字面量每次执行创建新闭包 2026-06-25 10:16:32 +08:00
pjh123 d7bc6a9b4e perf: 模块树改用 Arc 持有,消除同步调用路径深层模块克隆 2026-06-24 22:52:25 +08:00
pjh123 12bfe551cf perf: 寄存器保存改用共享 save_stack,消除 Box<[JsValue]> 堆分配 2026-06-24 22:20:34 +08:00
pjh123 967ac32378 feat: JsString 添加标记清除 GC 2026-06-24 21:15:31 +08:00
pjh123 ddffa8504e refactor: 字符串值改用 JsString 指针表示,键与字面量改用 PermInterner 2026-06-24 20:15:15 +08:00
pjh123 9a62cf1610 perf: for_each_root 迭代器替代 gc_roots,复用 Vec DFS mark 栈消除每轮 GC 堆分配 2026-06-24 19:01:51 +08:00
pjh123 bb4ce39e50 feat: CodeForge 改用有界 Mutex<LruCache>,KernelConfig 新增 max_cached_modules 2026-06-24 16:17:40 +08:00
pjh123 c0f16dc764 fix: promote 复用 Vm.forwarding,消除 promote 的 HashMap 分配 2026-06-24 16:08:17 +08:00
pjh123 94405f50d7 refactor: 移除代码注释中的文档内部编号引用 2026-06-24 16:03:53 +08:00
pjh123 4535f70f80 fix: GC sweep 复用 Vm.forwarding,消除每轮 HashMap 分配 2026-06-24 15:59:55 +08:00
pjh123 f0da49a54c fix: GC eprintln! 改为 vm_debug!,release 下零 stderr 2026-06-24 15:47:35 +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 2497cafa00 docs: 精简 README 开源依赖列表 2026-06-24 00:41:20 +08:00
pjh123 c2f2f24a0e Merge remote-tracking branch 'origin/main' 2026-06-23 23:43:26 +08:00
pjh123 3ea2353194 feat: 实现 SequenceExpression + 带标签 break/continue + EmptyStatement 2026-06-23 23:00:20 +08:00
pjh123 5de79b4253 feat: 实现 new String 装箱构造 + String.prototype.toString,补齐 boxed primitives 2026-06-23 22:33:37 +08:00
pjh123 cad726d67a feat: test262 新增 --supervise 模式:子进程级单测超时 kill + 自动续跑 2026-06-23 20:50:55 +08:00