Index: src/ia32/codegen-ia32.cc |
diff --git a/src/ia32/codegen-ia32.cc b/src/ia32/codegen-ia32.cc |
index 226b6b0e248a797257a49cdb86f56758319c7f79..d09a85f8b10c37e8a56fcde32760d395a50fb52b 100644 |
--- a/src/ia32/codegen-ia32.cc |
+++ b/src/ia32/codegen-ia32.cc |
@@ -1149,7 +1149,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 { |
sequence++; // Skip the kCallOpcode byte |
@@ -1167,7 +1167,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 { |