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/compiler_test.cc b/src/compiler_test.cc
index 01e98f0..997a4e6 100644
--- a/src/compiler_test.cc
+++ b/src/compiler_test.cc
@@ -53,7 +53,7 @@
 #if defined(__arm__)
     va_list args;
     va_start(args, expected);
-    jint result = env->CallStaticLongMethodV(c, m, args);
+    jlong result = env->CallStaticLongMethodV(c, m, args);
     va_end(args);
     LOG(INFO) << klass << "." << method << "(...) result is " << result;
     EXPECT_EQ(expected, result);
@@ -206,4 +206,12 @@
                                     (1.0/0.0) / (1.0/0.0));
 }
 
+#if 0 // Re-enable when method resolution in place
+TEST_F(CompilerTest, RecursiveFibonacci) {
+  CompileDex(kIntMathDex, "kIntMathDex");
+  AssertStaticIntMethod("IntMath", "fibonacci", "(I)I", 55,
+                        10);
+}
+#endif
+
 }  // namespace art