Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 92807118e5c8bd94c37bb3338caf2e5c25695415..0b47748d6b464556c0383d5ac6d2ca1bb3e3d672 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -335,9 +335,9 @@ void Assembler::emit(Handle<Object> handle) { |
} |
-void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, unsigned id) { |
- if (rmode == RelocInfo::CODE_TARGET && id != kNoASTId) { |
- RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, static_cast<intptr_t>(id)); |
+void Assembler::emit(uint32_t x, RelocInfo::Mode rmode, TypeFeedbackId id) { |
+ if (rmode == RelocInfo::CODE_TARGET && !id.IsNone()) { |
+ RecordRelocInfo(RelocInfo::CODE_TARGET_WITH_ID, id.ToInt()); |
} else if (rmode != RelocInfo::NONE) { |
RecordRelocInfo(rmode); |
} |