1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09: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
Notes: sideshowbarker 2024-07-17 08:25:23 +09:00
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())
{
}