Index: src/mips/codegen-mips.cc |
diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc |
index fb250fafeb51270c5edefdd2b9dabbac5ae54102..ec6649533fc73eaed5b91b0fa89b2aeb18a2e4e3 100644 |
--- a/src/mips/codegen-mips.cc |
+++ b/src/mips/codegen-mips.cc |
@@ -638,7 +638,7 @@ bool Code::IsYoungSequence(byte* sequence) { |
void Code::GetCodeAgeAndParity(byte* sequence, Age* age, |
MarkingParity* parity) { |
if (IsYoungSequence(sequence)) { |
- *age = kNoAge; |
+ *age = kNoAgeCodeAge; |
*parity = NO_MARKING_PARITY; |
} else { |
Address target_address = Memory::Address_at( |
@@ -655,7 +655,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate, |
MarkingParity parity) { |
uint32_t young_length; |
byte* young_sequence = GetNoCodeAgeSequence(&young_length); |
- if (age == kNoAge) { |
+ if (age == kNoAgeCodeAge) { |
CopyBytes(sequence, young_sequence, young_length); |
CPU::FlushICache(sequence, young_length); |
} else { |