Permalink
Browse files

Fixed parameters' reg count bug

  • Loading branch information...
1 parent 3f7720c commit ab8aa970f7b0b2446446d75c04ffc39fa044b558 @kelwin committed Aug 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 apkil/smali.py
View
@@ -828,7 +828,7 @@ def __parse(self, desc):
self.void = True
else:
self.void = False
- if self.type_ == 'J' or self.type_ == 'D':
+ if (self.type_ == 'J' or self.type_ == 'D') and self.dim == 0:
self.words = 2
elif desc[0] == 'L':
self.type_ = desc

0 comments on commit ab8aa97

Please sign in to comment.