Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 8cf73c372050faccd3b9bf5fcee18477c3b860e7..cfeaca614c637cc0e1b5d6c7ab006fb4931b2865 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1414,7 +1414,8 @@ void Assembler::call(Handle<Code> code, |
TypeFeedbackId ast_id) { |
positions_recorder()->WriteRecordedPositions(); |
EnsureSpace ensure_space(this); |
- ASSERT(RelocInfo::IsCodeTarget(rmode)); |
+ ASSERT(RelocInfo::IsCodeTarget(rmode) |
+ || rmode == RelocInfo::CODE_AGE_SEQUENCE); |
EMIT(0xE8); |
emit(code, rmode, ast_id); |
} |