Index: runtime/vm/bit_vector.h |
=================================================================== |
--- runtime/vm/bit_vector.h (revision 43047) |
+++ runtime/vm/bit_vector.h (working copy) |
@@ -44,6 +44,14 @@ |
friend class BitVector; |
}; |
+ BitVector(Zone* zone, intptr_t length) |
+ : length_(length), |
+ data_length_(SizeFor(length)), |
+ data_(zone->Alloc<uword>(data_length_)) { |
+ Clear(); |
+ } |
+ |
+ // DEPRECATED: Use Zone version. |
BitVector(Isolate* isolate, intptr_t length) |
: length_(length), |
data_length_(SizeFor(length)), |