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

Unified Diff: vm/scavenger.cc

Issue 11348026: - GrowableArray::RemoveLast returns the value being removed (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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/parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/scavenger.cc
===================================================================
--- vm/scavenger.cc (revision 14221)
+++ vm/scavenger.cc (working copy)
@@ -527,8 +527,7 @@
}
while (!delayed_weak_stack->is_empty()) {
// Pop the delayed weak object from the stack and visit its pointers.
- RawObject* weak_property = delayed_weak_stack->Last();
- delayed_weak_stack->RemoveLast();
+ RawObject* weak_property = delayed_weak_stack->RemoveLast();
weak_property->VisitPointers(visitor);
}
}
« no previous file with comments | « vm/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698