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

Unified Diff: vm/object.cc

Issue 10824266: Remove functions_cache_ and it's references as it is not being used anymore. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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/object.h ('k') | vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.cc
===================================================================
--- vm/object.cc (revision 10541)
+++ vm/object.cc (working copy)
@@ -1186,13 +1186,6 @@
}
-void Class::InitFunctionsCache() const {
- // TODO(srdjan): Make functions_cache growable and start with smaller size.
- StorePointer(&raw_ptr()->functions_cache_,
- Array::New(FunctionsCache::kNumEntries * 32, Heap::kOld));
-}
-
-
bool Class::HasInstanceFields() const {
const Array& field_array = Array::Handle(fields());
Field& field = Field::Handle();
@@ -1680,12 +1673,6 @@
}
-void Class::set_functions_cache(const Array& value) const {
- ASSERT(!value.IsNull());
- StorePointer(&raw_ptr()->functions_cache_, value.raw());
-}
-
-
RawArray* Class::constants() const {
return raw_ptr()->constants_;
}
« no previous file with comments | « vm/object.h ('k') | vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698