Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2397)

Unified Diff: runtime/vm/bit_vector.h

Issue 850183005: Introduce simple Thread class to support gradual refactoring of interfaces. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/base_isolate.h ('k') | runtime/vm/flow_graph.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)),
« no previous file with comments | « runtime/vm/base_isolate.h ('k') | runtime/vm/flow_graph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698