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

Unified Diff: vm/hash_set.h

Issue 10797021: - Start using the collected store buffer entries to find (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 | « vm/code_generator.cc ('k') | vm/heap.cc » ('j') | vm/scavenger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/hash_set.h
===================================================================
--- vm/hash_set.h (revision 9751)
+++ vm/hash_set.h (working copy)
@@ -35,6 +35,12 @@
return count_;
}
+ uword At(intptr_t i) const {
+ ASSERT(i >= 0);
+ ASSERT(i < Size());
+ return keys_[i];
+ }
+
// Returns false if the caller should stop adding entries to this HashSet.
bool Add(uword value) {
ASSERT(value != 0);
« no previous file with comments | « vm/code_generator.cc ('k') | vm/heap.cc » ('j') | vm/scavenger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698