| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index f9ee47d49180c07ae8f9a573342144b8c278094f..5f6022b6f133ac8631b7b5fad28e687febd9e151 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -337,12 +337,13 @@ void TypeFeedbackOracle::CollectPositions(Code* code,
|
| target->check_type() != RECEIVER_MAP_CHECK) continue;
|
| if (state != MONOMORPHIC && state != MEGAMORPHIC) continue;
|
| }
|
| - code_positions->Add(info->pc() - code->instruction_start());
|
| + code_positions->Add(
|
| + static_cast<int>(info->pc() - code->instruction_start()));
|
| source_positions->Add(position);
|
| }
|
| } else {
|
| ASSERT(RelocInfo::IsPosition(mode));
|
| - position = info->data();
|
| + position = static_cast<int>(info->data());
|
| }
|
| }
|
| }
|
|
|