mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibJS: Make get_function_realm() actually return a Realm
This commit is contained in:
parent
06e89311fa
commit
80e58dab9a
3 changed files with 9 additions and 7 deletions
|
@ -23,7 +23,7 @@ Value require_object_coercible(GlobalObject&, Value);
|
|||
size_t length_of_array_like(GlobalObject&, Object const&);
|
||||
MarkedValueList create_list_from_array_like(GlobalObject&, Value, Function<void(Value)> = {});
|
||||
FunctionObject* species_constructor(GlobalObject&, Object const&, FunctionObject& default_constructor);
|
||||
GlobalObject* get_function_realm(GlobalObject&, FunctionObject const&);
|
||||
Realm* get_function_realm(GlobalObject&, FunctionObject const&);
|
||||
bool is_compatible_property_descriptor(bool extensible, PropertyDescriptor const&, Optional<PropertyDescriptor> const& current);
|
||||
bool validate_and_apply_property_descriptor(Object*, PropertyName const&, bool extensible, PropertyDescriptor const&, Optional<PropertyDescriptor> const& current);
|
||||
Object* get_prototype_from_constructor(GlobalObject&, FunctionObject const& constructor, Object* (GlobalObject::*intrinsic_default_prototype)());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue