| commit | 0b4ac983ecb06dca3c4ce827d15e33785be1d1ec | [log] [tgz] |
|---|---|---|
| author | Ian Zerny <zerny@google.com> | Thu Aug 17 13:00:12 2023 +0200 |
| committer | Ian Zerny <zerny@google.com> | Thu Aug 17 11:07:19 2023 +0000 |
| tree | 3f89212c52c18f28ca5e73d94a3b11256d0da689 | |
| parent | f27817107834427b4410220a5c3fd691e4a96e30 [diff] |
Don't include shorty in DexProto hashCode The item hash codes are stored in the API database so this change is to split out the update to hash codes from the actual removal of the shorty field. Bug: b/172206529 Change-Id: I0432a54580af0c1fe8e7e8e716edf5da78724c97
diff --git a/src/main/java/com/android/tools/r8/graph/DexProto.java b/src/main/java/com/android/tools/r8/graph/DexProto.java index 3e9d428..1f9eb30 100644 --- a/src/main/java/com/android/tools/r8/graph/DexProto.java +++ b/src/main/java/com/android/tools/r8/graph/DexProto.java
@@ -57,7 +57,7 @@ @Override public int computeHashCode() { - return shorty.hashCode() * 7 + returnType.hashCode() * 13 + parameters.hashCode() * 31; + return returnType.hashCode() * 7 + parameters.hashCode() * 13; } public DexType getReturnType() {
diff --git a/third_party/api_database/api_database.tar.gz.sha1 b/third_party/api_database/api_database.tar.gz.sha1 index 5749b41..7717064 100644 --- a/third_party/api_database/api_database.tar.gz.sha1 +++ b/third_party/api_database/api_database.tar.gz.sha1
@@ -1 +1 @@ -9570931632e830d695b18bd83f69456c74196d6e \ No newline at end of file +f1d87fa568ba769b5bf72b9f5a45a376c7465dda \ No newline at end of file