mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:47:35 +00:00
LibJS: Don't use Handle<Value> for JS::Object private fields
There's no reason to use handles here, we can just mark private element values from objects that store them.
This commit is contained in:
parent
6a4e3d9002
commit
463931384d
4 changed files with 22 additions and 14 deletions
|
@ -37,7 +37,7 @@ struct PrivateElement {
|
|||
|
||||
PrivateName key;
|
||||
Kind kind { Kind::Field };
|
||||
Handle<Value> value;
|
||||
Value value;
|
||||
};
|
||||
|
||||
// Non-standard: This is information optionally returned by object property access functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue