diff options
author | Andreas Gampe <agampe@google.com> | 2015-08-10 17:15:32 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-08-10 17:39:05 -0700 |
commit | 168387df8dcbae1b51f124eed84daf8e8de6a974 (patch) | |
tree | 4e2b6e230d35a46d89f78da356ecd93c7af6649c /runtime | |
parent | f695a009725c8c840d916d01c14998f5c5f816d2 (diff) | |
download | art-168387df8dcbae1b51f124eed84daf8e8de6a974.zip art-168387df8dcbae1b51f124eed84daf8e8de6a974.tar.gz art-168387df8dcbae1b51f124eed84daf8e8de6a974.tar.bz2 |
ART: Change UnresolvedMergedType merge
Change to use IsUnresolvedTypes.
Bug: 22881413
Change-Id: Ic27b97b475b28a5bdf994ea5178767e0efb0e752
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/verifier/reg_type_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/verifier/reg_type_cache.cc b/runtime/verifier/reg_type_cache.cc index a597c8f..0f36572 100644 --- a/runtime/verifier/reg_type_cache.cc +++ b/runtime/verifier/reg_type_cache.cc @@ -325,7 +325,7 @@ const RegType& RegTypeCache::FromUnresolvedMerge(const RegType& left, const RegT const UnresolvedMergedType* left_merge = down_cast<const UnresolvedMergedType*>(&left); types.Copy(&left_merge->GetUnresolvedTypes()); left_resolved = &left_merge->GetResolvedPart(); - } else if (left.IsUnresolvedReference()) { + } else if (left.IsUnresolvedTypes()) { types.SetBit(left.GetId()); left_resolved = &Zero(); } else { @@ -337,7 +337,7 @@ const RegType& RegTypeCache::FromUnresolvedMerge(const RegType& left, const RegT const UnresolvedMergedType* right_merge = down_cast<const UnresolvedMergedType*>(&right); types.Union(&right_merge->GetUnresolvedTypes()); right_resolved = &right_merge->GetResolvedPart(); - } else if (right.IsUnresolvedReference()) { + } else if (right.IsUnresolvedTypes()) { types.SetBit(right.GetId()); right_resolved = &Zero(); } else { |