Fix issue with .param directive when there are parameters of type D

This commit is contained in:
Ben Gruver 2013-04-16 22:55:40 -07:00
parent 450cdd6c7a
commit e591eaf779

View File

@ -481,7 +481,7 @@ method_name_and_prototype returns[String name, List<SmaliMethodParameter> parame
for (String type: $method_prototype.parameters) { for (String type: $method_prototype.parameters) {
$parameters.add(new SmaliMethodParameter(paramRegister++, type)); $parameters.add(new SmaliMethodParameter(paramRegister++, type));
char c = type.charAt(0); char c = type.charAt(0);
if (c == 'J' || c == 'J') { if (c == 'D' || c == 'J') {
paramRegister++; paramRegister++;
} }
} }