feat: Event 体系内核接线九 P 字段加 BuiltinId 加脏位加 ProtoKind

This commit is contained in:
2026-10-10 08:02:05 +00:00
parent ab16e9ce79
commit 9ecd573526
11 changed files with 224 additions and 28 deletions
+6
View File
@@ -104,6 +104,12 @@ pub enum ProtoKind {
MessagePortProto,
// 广播通道原型
BroadcastChannelProto,
// 事件体系原型(EventTarget 原型不占 ProtoKind:builtins 不读它,
// 绑定层直接访问 world 的 event_target_proto 槽)
EventProto,
MessageEventProto,
ErrorEventProto,
CustomEventProto,
}
/// builtins 依赖的 `Vm` 能力集合。