feat: 函数名登记为作用域内不可写绑定并按帧槽写入函数对象

This commit is contained in:
2026-10-09 21:32:51 +00:00
parent 71904a644f
commit 4f6bd5d947
16 changed files with 271 additions and 42 deletions
+2
View File
@@ -271,6 +271,7 @@ impl Emitter {
&field_value_exprs,
&extra_upvalue_names,
true,
None,
)?
} else {
let mut module = self.compile_function_body_with_field_hooks(
@@ -285,6 +286,7 @@ impl Emitter {
&field_value_exprs,
&extra_upvalue_names,
true,
None,
)?;
if is_derived {
module.insts.clear();