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

Unified Diff: src/compiler/linkage.h

Issue 2161263003: [debug] use catch prediction flag for promise rejections. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
Index: src/compiler/linkage.h
diff --git a/src/compiler/linkage.h b/src/compiler/linkage.h
index 8994e625775818582a4ce7e8dd8b2373157c288b..3a74a287a8e4c68e669a07161c2e926292efe23d 100644
--- a/src/compiler/linkage.h
+++ b/src/compiler/linkage.h
@@ -175,17 +175,18 @@ class CallDescriptor final : public ZoneObject {
kNeedsFrameState = 1u << 0,
kHasExceptionHandler = 1u << 1,
kHasLocalCatchHandler = 1u << 2,
- kSupportsTailCalls = 1u << 3,
- kCanUseRoots = 1u << 4,
+ kHasLocalCatchHandlerForPromiseReject = 1u << 3,
+ kSupportsTailCalls = 1u << 4,
+ kCanUseRoots = 1u << 5,
// (arm64 only) native stack should be used for arguments.
- kUseNativeStack = 1u << 5,
+ kUseNativeStack = 1u << 6,
// (arm64 only) call instruction has to restore JSSP or CSP.
- kRestoreJSSP = 1u << 6,
- kRestoreCSP = 1u << 7,
+ kRestoreJSSP = 1u << 7,
+ kRestoreCSP = 1u << 8,
// Causes the code generator to initialize the root register.
- kInitializeRootRegister = 1u << 8,
+ kInitializeRootRegister = 1u << 9,
// Does not ever try to allocate space on our heap.
- kNoAllocate = 1u << 9
+ kNoAllocate = 1u << 10
};
typedef base::Flags<Flag> Flags;

Powered by Google App Engine
This is Rietveld 408576698