Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index 6c8dadbd715f363672bc7a8cf260e3a05b4a327b..67202ae031793aa9c5cc156dbd6a4b427f333d36 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_; |
}; |