summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzilliJs.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzilliJs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
index 4e488b825b..530e570601 100644
--- a/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzilliJs.cpp
@@ -213,8 +213,8 @@ int main(int, char**)
if (parser.has_errors()) {
result = 1;
} else {
- interpreter->run(interpreter->global_object(), *program);
- if (interpreter->exception()) {
+ auto completion = interpreter->run(interpreter->global_object(), *program);
+ if (completion.is_error()) {
result = 1;
vm->clear_exception();
}