summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver-inl.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-07-04 14:53:52 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-07-04 14:53:52 +0000
commit4a77b1e96733be419c0cb571448e8590c803bd91 (patch)
tree1891acc19e3f8fc6f9e12771bb0e21a696552317 /compiler/driver/compiler_driver-inl.h
parent4dd8880401bc7cd7bc748e5f828771611aa7bdc1 (diff)
parent4913cf39dc3a15211e3a13bdc685541babc93d6d (diff)
Merge "Remove obsolete helpers from CompilerDriver."
Diffstat (limited to 'compiler/driver/compiler_driver-inl.h')
-rw-r--r--compiler/driver/compiler_driver-inl.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/compiler/driver/compiler_driver-inl.h b/compiler/driver/compiler_driver-inl.h
index 8cc1cc38e2..a04349e392 100644
--- a/compiler/driver/compiler_driver-inl.h
+++ b/compiler/driver/compiler_driver-inl.h
@@ -102,35 +102,6 @@ inline std::pair<bool, bool> CompilerDriver::IsFastInstanceField(
return std::make_pair(fast_get, fast_put);
}
-template <typename ArtMember>
-inline bool CompilerDriver::CanAccessResolvedMember(mirror::Class* referrer_class ATTRIBUTE_UNUSED,
- mirror::Class* access_to ATTRIBUTE_UNUSED,
- ArtMember* member ATTRIBUTE_UNUSED,
- mirror::DexCache* dex_cache ATTRIBUTE_UNUSED,
- uint32_t field_idx ATTRIBUTE_UNUSED) {
- // Not defined for ArtMember values other than ArtField or ArtMethod.
- UNREACHABLE();
-}
-
-template <>
-inline bool CompilerDriver::CanAccessResolvedMember<ArtField>(mirror::Class* referrer_class,
- mirror::Class* access_to,
- ArtField* field,
- mirror::DexCache* dex_cache,
- uint32_t field_idx) {
- return referrer_class->CanAccessResolvedField(access_to, field, dex_cache, field_idx);
-}
-
-template <>
-inline bool CompilerDriver::CanAccessResolvedMember<ArtMethod>(
- mirror::Class* referrer_class,
- mirror::Class* access_to,
- ArtMethod* method,
- mirror::DexCache* dex_cache,
- uint32_t field_idx) {
- return referrer_class->CanAccessResolvedMethod(access_to, method, dex_cache, field_idx);
-}
-
inline ArtMethod* CompilerDriver::ResolveMethod(
ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache,
Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit,