mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
This commit is contained in:
parent
25849f8a6d
commit
56b2ae5ac0
46 changed files with 173 additions and 207 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -14,8 +14,8 @@ namespace JS {
|
|||
|
||||
// 6.2.5 The Property Descriptor Specification Type, https://tc39.es/ecma262/#sec-property-descriptor-specification-type
|
||||
|
||||
Value from_property_descriptor(GlobalObject&, Optional<PropertyDescriptor> const&);
|
||||
ThrowCompletionOr<PropertyDescriptor> to_property_descriptor(GlobalObject&, Value);
|
||||
Value from_property_descriptor(VM&, Optional<PropertyDescriptor> const&);
|
||||
ThrowCompletionOr<PropertyDescriptor> to_property_descriptor(VM&, Value);
|
||||
|
||||
class PropertyDescriptor {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue