Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index eebfc97b6fbd90feb5044404ef06145e40e2b426..6dcd2a040adf453563b02437355f28d6d770a6ef 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -363,7 +363,7 @@ void RelocInfoWriter::Write(const RelocInfo* rinfo) { |
ASSERT(begin_pos - pos_ >= RelocInfo::kMinRelocCommentSize); |
} else if (RelocInfo::IsConstPool(rmode)) { |
WriteExtraTaggedPC(pc_delta, kPCJumpExtraTag); |
- WriteExtraTaggedConstPoolData(rinfo->data()); |
+ WriteExtraTaggedConstPoolData(static_cast<int>(rinfo->data())); |
} else { |
ASSERT(rmode > RelocInfo::LAST_COMPACT_ENUM); |
int saved_mode = rmode - RelocInfo::LAST_COMPACT_ENUM; |