LibJS: Remove GlobalObject::{set_,}associated_realm()

This commit is contained in:
Linus Groh 2022-08-27 01:07:00 +01:00
commit dfb7588d30
Notes: sideshowbarker 2024-07-17 07:41:29 +09:00
5 changed files with 0 additions and 20 deletions

View file

@ -96,9 +96,6 @@ void Realm::set_global_object(GlobalObject* global_object, GlobalObject* this_va
// 2. Assert: Type(globalObj) is Object.
VERIFY(global_object);
// Non-standard
global_object->set_associated_realm(*this);
// 3. If thisValue is undefined, set thisValue to globalObj.
if (this_value == nullptr)
this_value = global_object;