mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
perf: 对象字面量批量构造键序预建 shape
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user