mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
refactor: 字符串值改用 JsString 指针表示,键与字面量改用 PermInterner
This commit is contained in:
@@ -37,6 +37,6 @@ impl Vm {
|
||||
} else {
|
||||
"undefined"
|
||||
};
|
||||
self.regs[rd] = self.intern(result);
|
||||
self.regs[rd] = self.new_string(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user