1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:17:44 +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:
Andreas Kling 2023-12-09 11:05:25 +01:00
parent 6a4e3d9002
commit 463931384d
4 changed files with 22 additions and 14 deletions

View file

@ -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.