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/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc
index 3b222f6..492c79a 100644
--- a/src/compiler/codegen/RallocUtil.cc
+++ b/src/compiler/codegen/RallocUtil.cc
@@ -717,7 +717,8 @@
 {
     int i;
     for (i=0; i< cUnit->regPool->numCoreRegs; i++) {
-        oatLockTemp(cUnit, cUnit->regPool->coreRegs[i].reg);
+        if (cUnit->regPool->coreRegs[i].isTemp)
+            oatLockTemp(cUnit, cUnit->regPool->coreRegs[i].reg);
     }
 }