Updating the compiler to use the new-world model
New compiler is integrated and passes first test (Fibonacci).
Change-Id: Ic5448ab89ebd22baa30fafc3d1300324687d1fc2
diff --git a/src/class_linker.h b/src/class_linker.h
index ad29383..13754db 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -61,6 +61,8 @@
void VisitRoots(Heap::RootVistor* root_visitor, void* arg) const;
+ const DexFile& FindDexFile(const DexCache* dex_cache) const;
+
private:
ClassLinker()
: classes_lock_(Mutex::Create("ClassLinker::Lock")),
@@ -101,8 +103,6 @@
Class* CreateArrayClass(const StringPiece& descriptor,
ClassLoader* class_loader);
- const DexFile& FindDexFile(const DexCache* dex_cache) const;
-
DexCache* FindDexCache(const DexFile* dex_file) const;
void AppendToBootClassPath(const DexFile* dex_file);