Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index fdb11c5e38e06290e935344c1c9f91917b9135bb..efcdf3ed5d96caaa9c8a1cc420228d19ad8b5346 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -10358,10 +10358,10 @@ void Code::MakeOlder(MarkingParity current_parity) { |
if (sequence != NULL) { |
Age age; |
MarkingParity code_parity; |
- GetCodeAgeAndParity(sequence, &age, &code_parity); |
+ GetCodeAgeAndParity(sequence, &age, &code_parity, is_thumb_mode()); |
if (age != kLastCodeAge && code_parity != current_parity) { |
PatchPlatformCodeAge(sequence, static_cast<Age>(age + 1), |
- current_parity); |
+ current_parity, is_thumb_mode()); |
} |
} |
} |
@@ -10372,7 +10372,7 @@ bool Code::IsOld() { |
if (sequence == NULL) return false; |
Age age; |
MarkingParity parity; |
- GetCodeAgeAndParity(sequence, &age, &parity); |
+ GetCodeAgeAndParity(sequence, &age, &parity, is_thumb_mode()); |
return age >= kSexagenarianCodeAge; |
} |