summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-01-08 21:28:27 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-08 23:43:03 +0100
commiteb60d16549eb9415cdbd729afb1f318e8f010dbd (patch)
treea2cbf9f97cc5b825b0b633b7a6d1d9e9fd7d637a /Tests
parentf73afbb5ae533706d2445799473de72e7ecfd224 (diff)
downloadserenity-eb60d16549eb9415cdbd729afb1f318e8f010dbd.zip
LibJS: Convert Interpreter::run() to ThrowCompletionOr<Value>
Instead of making it a void function, checking for an exception, and then receiving the relevant result via VM::last_value(), we can consolidate all of this by using completions. This allows us to remove more uses of VM::exception(), and all uses of VM::last_value().
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions