Chromium Code Reviews| Index: runtime/vm/bit_vector.h |
| diff --git a/runtime/vm/bit_vector.h b/runtime/vm/bit_vector.h |
| index af5122dca7df6acd676046bc49762a10bd475fa2..9afa05fefbc9cc90aae49467634f35e721617f6b 100644 |
| --- a/runtime/vm/bit_vector.h |
| +++ b/runtime/vm/bit_vector.h |
| @@ -84,6 +84,8 @@ class BitVector : public ZoneAllocated { |
| void Intersect(const BitVector* other); |
| + bool IsEmpty() const; |
| + |
| bool Contains(intptr_t i) const { |
| ASSERT(i >= 0 && i < length()); |
| uword block = data_[i / kBitsPerWord]; |