summaryrefslogtreecommitdiff
path: root/runtime/mirror/dex_cache-inl.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2016-12-12 11:06:59 -0800
committer Mathieu Chartier <mathieuc@google.com> 2016-12-13 10:12:07 -0800
commitdb70ce5e788404f36cb5dbb137c6a8f79f34a2a0 (patch)
treeb291c40e1b6c44f3744404f085706f4b07cbb73c /runtime/mirror/dex_cache-inl.h
parent7d785fca4fd6cf3507aaa807681b3d73ed586c9b (diff)
Address some review comments
Addressed comments in dex cache and class table. Added class table test. Test: mm test-art-host-gtest-class_table_test -j20 Change-Id: I3ec0282247187acb1ec7af25b309501f001a1c3e
Diffstat (limited to 'runtime/mirror/dex_cache-inl.h')
-rw-r--r--runtime/mirror/dex_cache-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/mirror/dex_cache-inl.h b/runtime/mirror/dex_cache-inl.h
index b54e416bc0..a59bb7b880 100644
--- a/runtime/mirror/dex_cache-inl.h
+++ b/runtime/mirror/dex_cache-inl.h
@@ -72,7 +72,7 @@ inline void DexCache::ClearString(dex::StringIndex string_idx) {
inline Class* DexCache::GetResolvedType(dex::TypeIndex type_idx) {
// It is theorized that a load acquire is not required since obtaining the resolved class will
- // always have an address depedency or a lock.
+ // always have an address dependency or a lock.
DCHECK_LT(type_idx.index_, NumResolvedTypes());
return GetResolvedTypes()[type_idx.index_].Read();
}