feat: 支持 class 私有字段与品牌检查

This commit is contained in:
爱特每羊队
2026-06-17 08:56:58 +08:00
parent 4fc73a4ed4
commit 1b77028340
14 changed files with 481 additions and 37 deletions
+5 -1
View File
@@ -913,7 +913,11 @@ impl Vm {
| OpCode::SET_PROP
| OpCode::GET_PROP_DYNAMIC
| OpCode::SET_PROP_DYNAMIC
| OpCode::SET_ELEM => {
| OpCode::SET_ELEM
| OpCode::GET_PRIVATE
| OpCode::SET_PRIVATE
| OpCode::INIT_PRIVATE
| OpCode::PRIVATE_BRAND_IN => {
self.dispatch_property_op(op, rd, a, b)?;
}