ART: Instantiate templated functions
Follow-up to commit 98be1a9d7280f82e533bc02d2df564da4c8f73a0.
Hopefully fixes the Mac build.
Test: m
Change-Id: Id92ce77fa452bb7da1e84f9d7ef151702da86a23
diff --git a/runtime/verifier/method_verifier.cc b/runtime/verifier/method_verifier.cc
index 9a87607..15cbec8 100644
--- a/runtime/verifier/method_verifier.cc
+++ b/runtime/verifier/method_verifier.cc
@@ -3778,6 +3778,12 @@
return *result;
}
+// Instantiate.
+template const RegType& MethodVerifier::ResolveClass<MethodVerifier::CheckAccess::kNo>(
+ dex::TypeIndex class_idx);
+template const RegType& MethodVerifier::ResolveClass<MethodVerifier::CheckAccess::kYes>(
+ dex::TypeIndex class_idx);
+
const RegType& MethodVerifier::GetCaughtExceptionType() {
const RegType* common_super = nullptr;
if (code_item_->tries_size_ != 0) {