summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-16 09:09:56 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-16 10:08:07 +0100
commitdadf2e8251389f048b246fd23d5557308d16fedb (patch)
treefc3486ee6c17107e296263f82b02517e94ecefb4 /Userland/Libraries/LibJS/Tests
parentef3679f9c391b088598279fd0c77e1abcddfc15f (diff)
downloadserenity-dadf2e8251389f048b246fd23d5557308d16fedb.zip
LibJS: Make Interpreter::run() a void function
With one small exception, this is how we've been using this API already, and it makes sense: a Program is just a ScopeNode with any number of statements, which are executed one by one. There's no explicit return value at the end, only a completion value of the last value-producing statement, which we then access using VM::last_value() if needed (e.g. in the REPL).
Diffstat (limited to 'Userland/Libraries/LibJS/Tests')
0 files changed, 0 insertions, 0 deletions