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

Unified Diff: runtime/vm/bit_vector.h

Issue 587873003: Pass isolate to BitVector constructor. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 | « no previous file | runtime/vm/bit_vector_test.cc » ('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 40526)
+++ runtime/vm/bit_vector.h (working copy)
@@ -44,10 +44,10 @@
friend class BitVector;
};
- explicit BitVector(intptr_t length)
+ BitVector(Isolate* isolate, intptr_t length)
: length_(length),
data_length_(SizeFor(length)),
- data_(Isolate::Current()->current_zone()->Alloc<uword>(data_length_)) {
+ data_(isolate->current_zone()->Alloc<uword>(data_length_)) {
Clear();
}
« no previous file with comments | « no previous file | runtime/vm/bit_vector_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698