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

Unified Diff: runtime/vm/isolate.cc

Issue 11299298: Cache lookups at megamorphic call sites in optimized code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: One change I forgot. Created 8 years 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/isolate.h ('k') | runtime/vm/megamorphic_cache_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index e24788127f836c0e5b54734a31fb736c453ce582..0deebd55913afc2b53151113b9c9377fbf2437c0 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -470,6 +470,9 @@ void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor,
// Visit objects in the class table.
class_table()->VisitObjectPointers(visitor);
+ // Visit objects in the megamorphic cache.
+ megamorphic_cache_table()->VisitObjectPointers(visitor);
+
// Visit objects in per isolate stubs.
StubCode::VisitObjectPointers(visitor);
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/megamorphic_cache_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698