mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 04:17:36 +02:00
Add getCount() method to RegisterIterator
git-svn-id: https://smali.googlecode.com/svn/trunk@607 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -1076,6 +1076,7 @@ public class MethodAnalyzer {
|
||||
private static interface RegisterIterator {
|
||||
int getRegister();
|
||||
boolean moveNext();
|
||||
int getCount();
|
||||
}
|
||||
|
||||
private boolean handleFilledNewArrayCommon(AnalyzedInstruction analyzedInstruction,
|
||||
@ -1146,6 +1147,10 @@ public class MethodAnalyzer {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public int getCount() {
|
||||
return registerCount;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -1178,6 +1183,10 @@ public class MethodAnalyzer {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public int getCount() {
|
||||
return registerCount;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user