mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 08:34:25 +02:00
Return one of the original RegisterType instances when merging, if possible
This commit is contained in:
parent
dd714d9196
commit
a555aa0c01
@ -279,6 +279,15 @@ public class RegisterType {
|
||||
assert other.category == UNKNOWN;
|
||||
return this;
|
||||
}
|
||||
|
||||
if (mergedType != null) {
|
||||
if (mergedType.equals(this.type)) {
|
||||
return this;
|
||||
}
|
||||
if (mergedType.equals(other.type)) {
|
||||
return other;
|
||||
}
|
||||
}
|
||||
return RegisterType.getRegisterType(mergedCategory, mergedType);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user