| Index: src/x64/assembler-x64-inl.h
|
| diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h
|
| index 7e54be5d9bd6609cbba8b165a9238a07acaa6618..f3940e8255e21349c7b90cbddcf1b23b3aa1d649 100644
|
| --- a/src/x64/assembler-x64-inl.h
|
| +++ b/src/x64/assembler-x64-inl.h
|
| @@ -65,10 +65,10 @@ void Assembler::emitw(uint16_t x) {
|
|
|
| void Assembler::emit_code_target(Handle<Code> target,
|
| RelocInfo::Mode rmode,
|
| - unsigned ast_id) {
|
| + TypeFeedbackId ast_id) {
|
| ASSERT(RelocInfo::IsCodeTarget(rmode));
|
| - if (rmode == RelocInfo::CODE_TARGET && ast_id != kNoASTId) {
|
| - RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id);
|
| + if (rmode == RelocInfo::CODE_TARGET && !ast_id.IsNone()) {
|
| + RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, ast_id.ToInt());
|
| } else {
|
| RecordRelocInfo(rmode);
|
| }
|
|
|