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

Unified Diff: runtime/vm/gc_marker.cc

Issue 18080007: - Fix compilation errors. Apparently clang != clang everywhere. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_marker.cc
===================================================================
--- runtime/vm/gc_marker.cc (revision 24563)
+++ runtime/vm/gc_marker.cc (working copy)
@@ -380,10 +380,11 @@
void GCMarker::ProcessWeakTables(PageSpace* page_space) {
- for (Heap::WeakSelector sel = static_cast<Heap::WeakSelector>(0);
+ for (int sel = 0;
sel < Heap::kNumWeakSelectors;
sel++) {
- WeakTable* table = heap_->GetWeakTable(Heap::kOld, sel);
+ WeakTable* table = heap_->GetWeakTable(
+ Heap::kOld, static_cast<Heap::WeakSelector>(sel));
intptr_t size = table->size();
for (intptr_t i = 0; i < size; i++) {
if (table->IsValidEntryAt(i)) {
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698