Add slow path for OP_NEW_INSTANCE

If the type is unresolved at verification time, we can't be sure
it's a valid new.  The compiler will now check for type resolution
at compile time.  If unresolved, we'll call out to the slow path,
where the access check will take place.

This CL only contains the compiler portion of this change.  For
now, the slow path code just calls out to the normal routine.

Change-Id: Ia568a164389baedaa695a44f6845a0fdfe585b56
diff --git a/src/runtime_support.cc b/src/runtime_support.cc
index 35d1103..6773338 100644
--- a/src/runtime_support.cc
+++ b/src/runtime_support.cc
@@ -651,6 +651,13 @@
   return klass->AllocObject();
 }
 
+extern "C" Object* artAllocObjectFromCodeSlowPath(uint32_t type_idx,
+                                                  Method* method,
+                                                  Thread* self, Method** sp) {
+  //TODO: Add delayed verification checks here
+  return artAllocObjectFromCode(type_idx, method, self, sp);
+}
+
 Array* CheckAndAllocArrayFromCode(uint32_t type_idx, Method* method, int32_t component_count,
                                      Thread* self) {
   if (UNLIKELY(component_count < 0)) {