1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +00:00

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

This commit is contained in:
Andreas Kling 2020-06-20 17:53:33 +02:00
parent 2fe4285693
commit 3ba17d8df7
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)