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

Unified Diff: runtime/vm/megamorphic_cache_table.h

Issue 70183010: Fixes a couple problems with GC of unoptimized code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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/intermediate_language.cc ('k') | runtime/vm/megamorphic_cache_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/megamorphic_cache_table.h
===================================================================
--- runtime/vm/megamorphic_cache_table.h (revision 30598)
+++ runtime/vm/megamorphic_cache_table.h (working copy)
@@ -14,6 +14,7 @@
class ObjectPointerVisitor;
class RawArray;
class RawFunction;
+class RawCode;
class RawMegamorphicCache;
class RawString;
class String;
@@ -23,7 +24,7 @@
MegamorphicCacheTable();
~MegamorphicCacheTable();
- RawFunction* miss_handler() const { return miss_handler_; }
+ RawFunction* miss_handler() const { return miss_handler_function_; }
void InitMissHandler();
RawMegamorphicCache* Lookup(const String& name, const Array& descriptor);
@@ -41,7 +42,8 @@
static const int kCapacityIncrement = 128;
- RawFunction* miss_handler_;
+ RawFunction* miss_handler_function_;
+ RawCode* miss_handler_code_;
intptr_t capacity_;
intptr_t length_;
Entry* table_;
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/megamorphic_cache_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698