diff options
author | Linus Groh <mail@linusgroh.de> | 2022-01-08 21:28:27 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-08 23:43:03 +0100 |
commit | eb60d16549eb9415cdbd729afb1f318e8f010dbd (patch) | |
tree | a2cbf9f97cc5b825b0b633b7a6d1d9e9fd7d637a /Tests/Kernel/mprotect-multi-region-mprotect.cpp | |
parent | f73afbb5ae533706d2445799473de72e7ecfd224 (diff) | |
download | serenity-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/Kernel/mprotect-multi-region-mprotect.cpp')
0 files changed, 0 insertions, 0 deletions