diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/VM.h')
-rw-r--r-- | Libraries/LibJS/Runtime/VM.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibJS/Runtime/VM.h b/Libraries/LibJS/Runtime/VM.h index b9470e56f4..a1ef23eaee 100644 --- a/Libraries/LibJS/Runtime/VM.h +++ b/Libraries/LibJS/Runtime/VM.h @@ -206,6 +206,8 @@ public: const LexicalEnvironment* get_this_environment() const; Value get_new_target() const; + [[nodiscard]] Value call(Function&, Value this_value, Optional<MarkedValueList> arguments); + private: VM(); |