1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibJS: Remove callerRealm from HostEnsureCanCompileStrings

This is a normative change in the ecma262 spec.

See: 2527be4
This commit is contained in:
Luke Wilde 2022-04-22 19:10:27 +01:00 committed by Linus Groh
parent a0a4d169f4
commit 77ba3d3e3f
7 changed files with 79 additions and 87 deletions

View file

@ -56,7 +56,7 @@ enum class EvalMode {
Direct,
Indirect
};
ThrowCompletionOr<Value> perform_eval(Value, GlobalObject&, CallerMode, EvalMode);
ThrowCompletionOr<Value> perform_eval(GlobalObject&, Value, CallerMode, EvalMode);
ThrowCompletionOr<void> eval_declaration_instantiation(VM& vm, GlobalObject& global_object, Program const& program, Environment* variable_environment, Environment* lexical_environment, PrivateEnvironment* private_environment, bool strict);