summaryrefslogtreecommitdiff
path: root/Meta/Lagom
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-02-07 15:14:31 +0100
committerLinus Groh <mail@linusgroh.de>2022-02-08 09:12:42 +0000
commit1c4c251be34d4c94bc07adcd70a336558ed627d9 (patch)
treebd7692ce38d2bc57bced835fe9e1e33f82338089 /Meta/Lagom
parent9264f9d24e10c3ca8d522450bc9152e69cbd6cda (diff)
downloadserenity-1c4c251be34d4c94bc07adcd70a336558ed627d9.zip
LibJS+Everywhere: Remove all VM::clear_exception() calls
Since VM::exception() no longer exists this is now useless. All of these calls to clear_exception were just to clear the VM state after some (potentially) failed evaluation and did not use the exception itself.
Diffstat (limited to 'Meta/Lagom')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index e5190b310c..d96353bb6b 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -214,7 +214,6 @@ int main(int, char**)
auto completion = interpreter->run(parse_result.value());
if (completion.is_error()) {
result = 1;
- vm->clear_exception();
}
}