Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 844e86327e0c4ad9f2fa4b5a7ba5bab81871cfdd..72690e4f630ef044b3df5c4fd4fa1b0b3df8b969 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -14356,6 +14356,12 @@ void Code::MakeYoung(Isolate* isolate) { |
if (sequence != NULL) MakeCodeAgeSequenceYoung(sequence, isolate); |
} |
+void Code::PreAge(Isolate* isolate) { |
+ byte* sequence = FindCodeAgeSequence(); |
+ if (sequence != NULL) { |
+ PatchPlatformCodeAge(isolate, sequence, kPreAgedCodeAge, NO_MARKING_PARITY); |
+ } |
+} |
void Code::MarkToBeExecutedOnce(Isolate* isolate) { |
byte* sequence = FindCodeAgeSequence(); |
@@ -14365,7 +14371,6 @@ void Code::MarkToBeExecutedOnce(Isolate* isolate) { |
} |
} |
- |
void Code::MakeOlder(MarkingParity current_parity) { |
byte* sequence = FindCodeAgeSequence(); |
if (sequence != NULL) { |