mirror of
https://github.com/revanced/smali.git
synced 2025-05-09 10:54:29 +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:
parent
6d11e9062d
commit
06d1aacf61
@ -1076,6 +1076,7 @@ public class MethodAnalyzer {
|
|||||||
private static interface RegisterIterator {
|
private static interface RegisterIterator {
|
||||||
int getRegister();
|
int getRegister();
|
||||||
boolean moveNext();
|
boolean moveNext();
|
||||||
|
int getCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean handleFilledNewArrayCommon(AnalyzedInstruction analyzedInstruction,
|
private boolean handleFilledNewArrayCommon(AnalyzedInstruction analyzedInstruction,
|
||||||
@ -1146,6 +1147,10 @@ public class MethodAnalyzer {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getCount() {
|
||||||
|
return registerCount;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1178,6 +1183,10 @@ public class MethodAnalyzer {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getCount() {
|
||||||
|
return registerCount;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user