Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index d444355e4c2074987de5c18fee37548d174cce25..c5ab315ee97842158c8f2365c7f4fcf91fc57b37 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7972,7 +7972,6 @@ void SharedFunctionInfo::InstallFromOptimizedCodeMap(JSFunction* function, |
ASSERT(code != NULL); |
ASSERT(function->context()->native_context() == code_map->get(index - 1)); |
function->ReplaceCode(code); |
- code->MakeYoung(); |
} |
@@ -8841,14 +8840,6 @@ void Code::MakeCodeAgeSequenceYoung(byte* sequence) { |
} |
-void Code::MakeYoung() { |
- byte* sequence = FindCodeAgeSequence(); |
- if (sequence != NULL) { |
- PatchPlatformCodeAge(sequence, kNoAge, NO_MARKING_PARITY); |
- } |
-} |
- |
- |
void Code::MakeOlder(MarkingParity current_parity) { |
byte* sequence = FindCodeAgeSequence(); |
if (sequence != NULL) { |