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:
JesusFreke@JesusFreke.com 2010-02-08 02:27:12 +00:00
parent 6d11e9062d
commit 06d1aacf61

View File

@ -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;
}
}); });
} }