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

Unified Diff: src/globals.h

Issue 2159793002: [turbofan] Allow deopt reasons without source positions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix for Ignition. 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
« no previous file with comments | « src/deoptimizer.cc ('k') | src/profiler/profile-generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index a32bc5a80ba0b83d7341eaf875557efc07e1aa41..d9b609a854c39f744c1e0dadfed773689ecedac7 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -296,6 +296,9 @@ inline LanguageMode construct_language_mode(bool strict_bit) {
// This constant is used as an undefined value when passing source positions.
const int kNoSourcePosition = -1;
+// This constant is used to indicate missing deoptimization information.
+const int kNoDeoptimizationId = -1;
+
// Mask for the sign bit in a smi.
const intptr_t kSmiSignMask = kIntptrSignBit;
« no previous file with comments | « src/deoptimizer.cc ('k') | src/profiler/profile-generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698