Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index c2e843197f674b6cccff95f2cd99f3c309c162a7..a18d8152d3544a065be163d3f5a8c4bb016e0a05 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -1413,7 +1413,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); |
} |