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/asm_support.h b/src/asm_support.h
index 2f2cf4c..f81966f 100644
--- a/src/asm_support.h
+++ b/src/asm_support.h
@@ -10,13 +10,13 @@
#define rSELF r9
#define rLR r14
// Offset of field Thread::suspend_count_ verified in InitCpu
-#define THREAD_SUSPEND_COUNT_OFFSET 384
+#define THREAD_SUSPEND_COUNT_OFFSET 388
// Offset of field Thread::suspend_count_ verified in InitCpu
-#define THREAD_EXCEPTION_OFFSET 380
+#define THREAD_EXCEPTION_OFFSET 384
#elif defined(__i386__)
// Offset of field Thread::self_ verified in InitCpu
-#define THREAD_SELF_OFFSET 372
+#define THREAD_SELF_OFFSET 376
#endif
#endif // ART_SRC_ASM_SUPPORT_H_