mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 23:54:38 +02:00
Use the correct register category for the uninitialized "this" reference
This commit is contained in:
parent
13993573b2
commit
02f1d6cc1a
@ -149,7 +149,7 @@ public class MethodAnalyzer {
|
||||
//if this is a constructor, then set the "this" register to an uninitialized reference of the current class
|
||||
if (MethodUtil.isConstructor(method)) {
|
||||
setPostRegisterTypeAndPropagateChanges(startOfMethod, thisRegister,
|
||||
RegisterType.getRegisterType(RegisterType.UNINIT,
|
||||
RegisterType.getRegisterType(RegisterType.UNINIT_THIS,
|
||||
classPath.getClass(method.getDefiningClass())));
|
||||
} else {
|
||||
setPostRegisterTypeAndPropagateChanges(startOfMethod, thisRegister,
|
||||
|
Loading…
x
Reference in New Issue
Block a user