// Ignore here because we already processed these and they were
// given to this method as an argument.
}
else if (instruction instanceof SimpleInsn)
{
SimpleInsn simpleInsn= (SimpleInsn) instruction;
String instructionName= simpleInsn.getOpcode().getName();
// If this is a move-result instruction, we don't add it
// explicitly, but instead add the result register to the previous
// invoke instruction's return.
if (instructionName.startsWith("move-result"))
{
// Sanity Check
if (simpleInsn.getRegisters().size() != 1)
{
Log.error(TAG, "DEXmlvmOutputProcess: Register Size doesn't fit 'move-result'.");
System.exit(-1);
}
Element moveInstruction= new Element("move-result", NS_DEX);