commit | be55c16e50e714475034b00ed2682f0813794d15 | [log] [tgz] |
---|---|---|
author | Toon Verwaest <verwaest@chromium.org> | Tue Oct 26 15:46:31 2021 |
committer | V8 LUCI CQ <v8-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 26 16:52:31 2021 |
tree | 6a40c3619d61921c980d684e1494fe764f223b88 | |
parent | a4252db3228433fed5c2bdb0fdff9a6b7b638f3b [diff] |
[runtime] Check if we have a pending exception before returning it Bug: chromium:1263462 Change-Id: I8b367201f1141921a0b34d6fbf1453d72a6fae37 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3244420 Reviewed-by: Samuel Groß <saelo@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/main@{#77557}
diff --git a/src/execution/isolate-inl.h b/src/execution/isolate-inl.h index 63f9ea5..48950b6 100644 --- a/src/execution/isolate-inl.h +++ b/src/execution/isolate-inl.h
@@ -50,7 +50,7 @@ } Object Isolate::pending_exception() { - DCHECK(has_pending_exception()); + CHECK(has_pending_exception()); DCHECK(!thread_local_top()->pending_exception_.IsException(this)); return thread_local_top()->pending_exception_; }