Fix compiler class initialization to properly deal with super classes
Also moving active parts of compiler_test to be oat tests including
IntMath and Invoke. Added an interface invocation test case to Invoke
test. Changed Compiler to CHECK that it is not used once the
Runtime::IsStarted, forcing some jni_compiler_test to have two phases,
one for compiling before Runtime::Start and one for JNI operations
after the Runtime::IsStarted.
Finally, fixed Class::CanPutArrayElementFromCode by removing
CanPutArrayElement and calling IsAssignableFrom directly.
Change-Id: I52ca4dbc0e02db65f274ccc3ca7468dce365a44e
diff --git a/src/exception_test.cc b/src/exception_test.cc
index 8816530..6c48f5f 100644
--- a/src/exception_test.cc
+++ b/src/exception_test.cc
@@ -133,6 +133,8 @@
}
TEST_F(ExceptionTest, StackTraceElement) {
+ runtime_->Start();
+
enum {STACK_SIZE = 1000};
uint32_t top_of_stack = 0;
uintptr_t fake_stack[STACK_SIZE];