Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 37e41d50d30a554b665fbbbd0e5693b534cb0c69..96c88c3a3104ea5f168c690e3bcfb7b2bd70c6a1 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -106,7 +106,7 @@ MUST_USE_RESULT MaybeHandle<Object> Invoke(Isolate* isolate, bool is_construct, |
#endif |
// Update the pending exception flag and return the value. |
- bool has_exception = value->IsException(); |
+ bool has_exception = value->IsException(isolate); |
DCHECK(has_exception == isolate->has_pending_exception()); |
if (has_exception) { |
isolate->ReportPendingMessages(); |