emit/vm: 可删全局内置集撤 globalThis 与 TypedArray 两名——现行规范 globalThis 为 c:true 可删(真删清槽)、%TypedArray% 无全局名(删不存在属性返 true),宿主名排除面收窄至 $262,delete 子集 A/B 逐文件零翻转

This commit is contained in:
2026-09-13 17:07:51 +00:00
parent 650b8c00cc
commit f088858cf4
3 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ impl Emitter {
ctx.labels.set_label_pos(end_label, ctx.insts.len());
return Ok(result_reg);
}
// 可删全局内置(可写全局名除 globalThis 与宿主名):运行期真删
// 可删全局内置(可写全局名除宿主名 $262):运行期真删
// 全局对象属性(c:true 数据描述符)并返 true;删除成功时清镜像
// 槽,裸读与 globalThis 反射不失步。
if let Some(slot_reg) = ctx.global_builtin_delete_slot(name) {