mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:37:44 +00:00
LibJS: Remove GlobalObject::{set_,}associated_realm()
This commit is contained in:
parent
61bd9fef7d
commit
dfb7588d30
5 changed files with 0 additions and 20 deletions
|
@ -62,7 +62,6 @@ JS_DEFINE_NATIVE_FUNCTION($262Object::create_realm)
|
|||
auto* realm_global_object = vm.heap().allocate_without_realm<GlobalObject>(*realm);
|
||||
VERIFY(realm_global_object);
|
||||
realm->set_global_object(realm_global_object, nullptr);
|
||||
realm_global_object->set_associated_realm(*realm);
|
||||
realm_global_object->initialize_global_object(*realm);
|
||||
return Value(realm_global_object->$262());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue