Skip to content

Commit

Permalink
clean up before TypeTransformer
Browse files Browse the repository at this point in the history
  • Loading branch information
pxb1988 committed Nov 3, 2021
1 parent e9a3ab0 commit e938cf0
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -162,6 +162,13 @@ public void optimize(IrMethod irMethod) {
}
System.out.println(irMethod);
}
{
// https://github.com/pxb1988/dex2jar/issues/477
// dead code found in unssa, clean up
T_deadCode.transform(irMethod);
T_removeLocal.transform(irMethod);
T_removeConst.transform(irMethod);
}
T_type.transform(irMethod);
T_unssa.transform(irMethod);
T_ir2jRegAssign.transform(irMethod);
Expand Down

0 comments on commit e938cf0

Please sign in to comment.