Add slow-path code gen for static/direct invokes
Also added recursive fibonacci test, but conditionally compiled it out.
Change-Id: Ic36e38dc7c428f1f9f299e2732e7f156ee492ed0
diff --git a/src/dex_cache.h b/src/dex_cache.h
index 13c900e..fdf179b 100644
--- a/src/dex_cache.h
+++ b/src/dex_cache.h
@@ -38,6 +38,18 @@
return Get(kLocation)->AsString();
}
+ static size_t StringsOffset() {
+ return kStrings * sizeof(Object*);
+ }
+
+ static size_t FieldsOffset() {
+ return kFields * sizeof(Object*);
+ }
+
+ static size_t MethodsOffset() {
+ return kMethods * sizeof(Object*);
+ }
+
size_t NumStrings() const {
return GetStrings()->GetLength();
}