1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 04:24:59 +00:00

LibJS: Make Interpreter::create() call InitializeHostDefinedRealm()

Instead of having two implementations of this AO, let's just have
Interpreter::create() call the new full version of the AO in Realm.
This commit is contained in:
Andreas Kling 2022-08-04 21:25:32 +02:00
parent 8a03b17007
commit fb1900e79c
2 changed files with 15 additions and 52 deletions

View file

@ -32,7 +32,6 @@ NonnullOwnPtr<Interpreter> Interpreter::create_with_existing_realm(Realm& realm)
Interpreter::Interpreter(VM& vm)
: m_vm(vm)
, m_global_execution_context(vm.heap())
{
}