Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index af0a8911c873bfeff4a74b79cca91d109ccef6a2..f9fe6052dfe0b4f617a07362e340ea40b962f69c 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5129,7 +5129,9 @@ class Code: public HeapObject { |
CODE_AGE_LIST(DECLARE_CODE_AGE_ENUM) |
kAfterLastCodeAge, |
kLastCodeAge = kAfterLastCodeAge - 1, |
- kCodeAgeCount = kAfterLastCodeAge - 1 |
+ kCodeAgeCount = kAfterLastCodeAge - 1, |
+ kPreAgedCodeAge = kQuinquagenarianCodeAge, |
+ kIsOldCodeAge = kSexagenarianCodeAge |
}; |
#undef DECLARE_CODE_AGE_ENUM |
@@ -5140,6 +5142,7 @@ class Code: public HeapObject { |
static void MakeCodeAgeSequenceYoung(byte* sequence); |
void MakeOlder(MarkingParity); |
static bool IsYoungSequence(byte* sequence); |
+ static bool IsPreAgedSequence(byte* sequence); |
bool IsOld(); |
int GetAge(); |