1
Fork 0
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:
Linus Groh 2022-08-27 01:07:00 +01:00
parent 61bd9fef7d
commit dfb7588d30
5 changed files with 0 additions and 20 deletions

View file

@ -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());
}