Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 083f38fd167a0cae59cc15dc7bdd8b7417aa77f4..338f2c0d8ec90597e1648f813f32ec2238811486 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -1876,7 +1876,7 @@ static void RedirectActivationsToRecompiledCodeOnThread( |
for (RelocIterator it(*frame_code, constpool_mask); !it.done(); it.next()) { |
RelocInfo* info = it.rinfo(); |
if (info->pc() >= frame->pc()) break; |
- frame_const_pool_size += info->data(); |
+ frame_const_pool_size += static_cast<int>(info->data()); |
} |
intptr_t frame_offset = |
frame->pc() - frame_code->instruction_start() - frame_const_pool_size; |
@@ -1902,7 +1902,7 @@ static void RedirectActivationsToRecompiledCodeOnThread( |
} else { |
ASSERT(RelocInfo::IsConstPool(info->rmode())); |
// The size of the constant pool is encoded in the data. |
- new_code_const_pool_size += info->data(); |
+ new_code_const_pool_size += static_cast<int>(info->data()); |
} |
} |