Remove the use of Method from jni_compiler
Change-Id: Ibf1c72a806e7f1ba7a2d83960c3d57f41937d336
diff --git a/src/common_test.h b/src/common_test.h
index 56b54a3..c55ef7f 100644
--- a/src/common_test.h
+++ b/src/common_test.h
@@ -205,7 +205,7 @@
#elif defined(__arm__)
instruction_set = kThumb2;
#endif
- runtime_->SetJniStubArray(JniCompiler::CreateJniStub(instruction_set));
+ runtime_->SetJniDlsymLookupStub(Compiler::CreateJniDlysmLookupStub(instruction_set));
runtime_->SetAbstractMethodErrorStubArray(Compiler::CreateAbstractMethodErrorStub(instruction_set));
for (int i = 0; i < Runtime::kLastTrampolineMethodType; i++) {
Runtime::TrampolineType type = Runtime::TrampolineType(i);
@@ -352,7 +352,7 @@
compiler_->CompileOne(method);
MakeExecutable(method);
- MakeExecutable(runtime_->GetJniStubArray());
+ MakeExecutable(runtime_->GetJniDlsymLookupStub());
}
void CompileDirectMethod(ClassLoader* class_loader,