mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibJS: Add JS_CELL macro and use it in all JS::Cell subclasses
This is similar to what we already had with JS_OBJECT (and also JS_ENVIRONMENT) but sits at the top of the Cell inheritance hierarchy.
This commit is contained in:
parent
94f016b363
commit
6e973ce69b
Notes:
sideshowbarker
2024-07-18 04:38:32 +09:00
Author: https://github.com/awesomekling
Commit: 6e973ce69b
Pull-request: https://github.com/SerenityOS/serenity/pull/15061
Reviewed-by: https://github.com/linusg ✅
16 changed files with 37 additions and 23 deletions
|
@ -35,7 +35,6 @@ public:
|
|||
return Array::create_from(realm, values);
|
||||
}
|
||||
|
||||
explicit Array(Object& prototype);
|
||||
virtual ~Array() override = default;
|
||||
|
||||
virtual ThrowCompletionOr<Optional<PropertyDescriptor>> internal_get_own_property(PropertyKey const&) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue