LibJS: Make Interpreter::construct() take a GlobalObject&

This commit is contained in:
Andreas Kling 2020-06-20 17:53:33 +02:00
commit 3ba17d8df7
Notes: sideshowbarker 2024-07-19 05:31:23 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -135,7 +135,7 @@ JS_DEFINE_NATIVE_FUNCTION(ReflectObject::construct)
}
new_target = &new_target_value.as_function();
}
return interpreter.construct(*target, *new_target, move(arguments));
return interpreter.construct(*target, *new_target, move(arguments), global_object);
}
JS_DEFINE_NATIVE_FUNCTION(ReflectObject::define_property)