Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index dbf94464e0ec398d2117900775bffcf1f1381131..13fd214111d858e4029ae081b7f77b4ec0444781 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -941,6 +941,8 @@ class BailoutId { |
V8_EXPORT_PRIVATE friend std::ostream& operator<<(std::ostream&, BailoutId); |
private: |
+ friend class Builtins; |
+ |
static const int kNoneId = -1; |
// Using 0 could disguise errors. |
@@ -959,6 +961,11 @@ class BailoutId { |
// Every compiled stub starts with this id. |
static const int kStubEntryId = 6; |
+ // Builtin continuations bailout ids start here. If you need to add a |
+ // non-builtin BailoutId, add it before this id so that this Id has the |
+ // highest number. |
+ static const int kFirstBuiltinContinuationId = 7; |
+ |
int id_; |
}; |