Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index eb1841d4d834532fa224ee82a07a56a7aac310a6..c2492245abde3fc6b572ece61939bd519b00cb7e 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -673,6 +673,7 @@ class Isolate { |
void PushPromise(Handle<JSObject> promise); |
void PopPromise(); |
Handle<Object> GetPromiseOnStackOnThrow(); |
+ bool PromiseHasUserDefinedRejectHandler(Handle<JSObject> promise); |
class ExceptionScope { |
public: |
@@ -750,7 +751,8 @@ class Isolate { |
NOT_CAUGHT, |
CAUGHT_BY_JAVASCRIPT, |
CAUGHT_BY_EXTERNAL, |
- CAUGHT_BY_DESUGARING |
+ CAUGHT_BY_DESUGARING, |
+ CAUGHT_BY_ASYNC_AWAIT |
}; |
CatchType PredictExceptionCatcher(); |