Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 6a7ca602a3e8d24f5e9eacbf9a74b705dd2c8f95..e09780e0f43deaedd352a4e6bf974cca8063dac7 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -2666,7 +2666,8 @@ void MacroAssembler::Call(Handle<Code> code_object, |
#ifdef DEBUG |
int end_position = pc_offset() + CallSize(code_object); |
#endif |
- ASSERT(RelocInfo::IsCodeTarget(rmode)); |
+ ASSERT(RelocInfo::IsCodeTarget(rmode) || |
+ rmode == RelocInfo::CODE_AGE_SEQUENCE); |
call(code_object, rmode, ast_id); |
#ifdef DEBUG |
CHECK_EQ(end_position, pc_offset()); |