mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 19:51:11 +08:00
feat: 符号键编码加 realm 维度并把符号表移入 realm
This commit is contained in:
@@ -304,7 +304,7 @@ impl Vm {
|
||||
|
||||
/// 全局 symbol 注册表中已注册的 key 数量。
|
||||
pub fn symbol_registry_len(&self) -> usize {
|
||||
self.symbols.registry_len()
|
||||
self.realm.symbols.borrow().registry_len()
|
||||
}
|
||||
|
||||
/// inline cache 命中次数。
|
||||
|
||||
Reference in New Issue
Block a user