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

Unified Diff: src/isolate.h

Issue 2325813002: Async/await catch prediction for "the synchronous case" (Closed)
Patch Set: Comment 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') | no next file with comments »
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 9fb3b44ec05d0b6d55e85cc1bb5fda06ea4b151d..4195378afc3e1dd35c670e0bcb53c5c69c06e9ad 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
jgruber 2016/09/12 10:27:31 Is this comment meant for PromiseHasUserDefinedRej
Dan Ehrenberg 2016/09/12 22:12:11 Not sure what you mean; this function calls out to
jgruber 2016/09/13 08:17:20 You're right. Sorry, my mistake.
+ 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698