Index: src/utils.h |
diff --git a/src/utils.h b/src/utils.h |
index e03f96f6e5d3a7bb2b1c527810a180333c4a26b8..b4cd5a80cd86d3738d408eae8c8e1ce31800a313 100644 |
--- a/src/utils.h |
+++ b/src/utils.h |
@@ -1015,6 +1015,7 @@ class BailoutId { |
static BailoutId FunctionEntry() { return BailoutId(kFunctionEntryId); } |
static BailoutId Declarations() { return BailoutId(kDeclarationsId); } |
static BailoutId FirstUsable() { return BailoutId(kFirstUsableId); } |
+ static BailoutId StubEntry() { return BailoutId(kStubEntryId); } |
bool IsNone() const { return id_ == kNoneId; } |
bool operator==(const BailoutId& other) const { return id_ == other.id_; } |
@@ -1030,9 +1031,12 @@ class BailoutId { |
// code (function declarations). |
static const int kDeclarationsId = 3; |
- // Ever FunctionState starts with this id. |
+ // Every FunctionState starts with this id. |
static const int kFirstUsableId = 4; |
+ // Every compiled stub starts with this id. |
+ static const int kStubEntryId = 5; |
+ |
int id_; |
}; |