Revert "LibJS+LibWeb: Remove now-unused lexical environment override"

This reverts commit d39f6975f9.
This commit is contained in:
Timothy Flynn 2024-10-31 08:03:09 -04:00 committed by Tim Flynn
commit d40b7d67b1
Notes: github-actions[bot] 2024-11-06 13:43:32 +00:00
4 changed files with 9 additions and 5 deletions

View file

@ -30,7 +30,7 @@ public:
VM& vm() { return m_vm; }
VM const& vm() const { return m_vm; }
ThrowCompletionOr<Value> run(Script&);
ThrowCompletionOr<Value> run(Script&, JS::GCPtr<Environment> lexical_environment_override = nullptr);
ThrowCompletionOr<Value> run(SourceTextModule&);
ThrowCompletionOr<Value> run(Bytecode::Executable& executable, Optional<size_t> entry_point = {}, Value initial_accumulator_value = {})