Chromium Code Reviews| Index: runtime/vm/bit_vector.h |
| =================================================================== |
| --- runtime/vm/bit_vector.h (revision 28370) |
| +++ runtime/vm/bit_vector.h (working copy) |
| @@ -84,7 +84,7 @@ |
| void Intersect(const BitVector* other); |
| - bool Contains(int i) const { |
| + bool Contains(intptr_t i) const { |
| ASSERT(i >= 0 && i < length()); |
| uword block = data_[i / kBitsPerWord]; |
| return (block & (static_cast<uword>(1) << (i % kBitsPerWord))) != 0; |