mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibJS: Pass ExecutionContext to Interpreter::run_executable()
This avoids having to get it from the VM's context stack, since most callers already have it on hand.
This commit is contained in:
committed by
Andreas Kling
parent
a7d13b107e
commit
9dae1acc31
Notes:
github-actions[bot]
2025-10-29 20:21:51 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/9dae1acc31b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6629
@@ -203,7 +203,7 @@ private:
|
||||
|
||||
virtual bool is_strict_mode() const override { return shared_data().m_strict; }
|
||||
|
||||
ThrowCompletionOr<Value> ordinary_call_evaluate_body(VM&);
|
||||
ThrowCompletionOr<Value> ordinary_call_evaluate_body(VM&, ExecutionContext&);
|
||||
|
||||
[[nodiscard]] bool function_environment_needed() const { return shared_data().m_function_environment_needed; }
|
||||
SharedFunctionInstanceData const& shared_data() const { return m_shared_data; }
|
||||
|
||||
Reference in New Issue
Block a user