core: ClassModifier: Don't skip methods with SKIP_FIRST_ARG attr

Skipping those methods on class refresh leads to "M.this = r1;" like
assigments appears in the inner class constructors.

Unsure is this saint or not.
This commit is contained in:
S-trace
2020-01-03 01:52:52 +03:00
committed by Soul Trace
parent 15953f832f
commit 6d4caca6cc
@@ -105,7 +105,7 @@ public class ClassModifier extends AbstractVisitor {
return false;
}
List<RegisterArg> args = mth.getArgRegs();
if (args.isEmpty() || mth.contains(AFlag.SKIP_FIRST_ARG)) {
if (args.isEmpty()) {
return false;
}
RegisterArg arg = args.get(0);