mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
fix: rerun 恢复顶层 this——清空寄存器文件后依赖 this 的顶层写(顶层 var 全局同步写)在重执行中不再静默丢弃
This commit is contained in:
@@ -99,6 +99,7 @@ impl Vm {
|
||||
inline_strict: false,
|
||||
inline_frames_base: 0,
|
||||
top_level_strict: false,
|
||||
top_level_this: JsValue::undefined(),
|
||||
inline_reg_pool: None,
|
||||
generator_suspended: None,
|
||||
delegated_iterator: None,
|
||||
@@ -227,6 +228,7 @@ impl Vm {
|
||||
inline_strict: false,
|
||||
inline_frames_base: 0,
|
||||
top_level_strict: false,
|
||||
top_level_this: JsValue::undefined(),
|
||||
inline_reg_pool: None,
|
||||
generator_suspended: None,
|
||||
delegated_iterator: None,
|
||||
|
||||
Reference in New Issue
Block a user