perf: 对象字面量批量构造键序预建 shape

This commit is contained in:
2026-08-14 04:47:15 +08:00
parent 30875442ec
commit 0d9004f8e2
11 changed files with 395 additions and 24 deletions
+2 -1
View File
@@ -1560,6 +1560,7 @@ impl Vm {
| OpCode::IC_SET_PROP
| OpCode::GET_PROP
| OpCode::SET_PROP
| OpCode::SET_PROP_BATCH
| OpCode::GET_PROP_DYNAMIC
| OpCode::SET_PROP_DYNAMIC
| OpCode::SET_ELEM
@@ -1571,7 +1572,7 @@ impl Vm {
}
OpCode::NEW_OBJECT => {
self.dispatch_new_object(rd);
self.dispatch_new_object(rd, instr)?;
}
OpCode::CREATE_ARGUMENTS => {