Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: src/isolate.h

Issue 2325813002: Async/await catch prediction for "the synchronous case" (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/isolate.cc » ('j') | src/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index a00831239604195004dc999d192b166f8546bdb3..9a2363fa3938f79075fd021b44077df2473f31fa 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -675,6 +675,9 @@ class Isolate {
void PopPromise();
Handle<Object> GetPromiseOnStackOnThrow();
+ // Heuristically guess whether a Promise is handled by user catch handler
+ bool PromiseHasUserDefinedRejectHandler(Handle<Object> promise);
+
class ExceptionScope {
public:
// Scope currently can only be used for regular exceptions,
« no previous file with comments | « src/debug/debug.cc ('k') | src/isolate.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698