| Index: src/objects.cc
|
| ===================================================================
|
| --- src/objects.cc (revision 6894)
|
| +++ src/objects.cc (working copy)
|
| @@ -6075,7 +6075,7 @@
|
|
|
| uint8_t* Code::GetSafepointEntry(Address pc) {
|
| SafepointTable table(this);
|
| - unsigned pc_offset = pc - instruction_start();
|
| + unsigned pc_offset = static_cast<unsigned>(pc - instruction_start());
|
| for (unsigned i = 0; i < table.length(); i++) {
|
| // TODO(kasperl): Replace the linear search with binary search.
|
| if (table.GetPcOffset(i) == pc_offset) return table.GetEntry(i);
|
|
|