From acf2ddb67e3b430a6a7465e1d14a743830c58449 Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Tue, 16 Jun 2009 03:27:01 +0000 Subject: [PATCH] Fixed an issue when reading a nop git-svn-id: https://smali.googlecode.com/svn/trunk@152 55b6fa8a-2a1e-11de-a435-ffa8d773f76a --- dexlib/src/main/java/org/jf/dexlib/code/InstructionField.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dexlib/src/main/java/org/jf/dexlib/code/InstructionField.java b/dexlib/src/main/java/org/jf/dexlib/code/InstructionField.java index 7ce1c1f3..064cb873 100644 --- a/dexlib/src/main/java/org/jf/dexlib/code/InstructionField.java +++ b/dexlib/src/main/java/org/jf/dexlib/code/InstructionField.java @@ -88,7 +88,7 @@ public class InstructionField implements Field { switch (secondByte) { case 0x00: //nop - instruction = Opcode.NOP.format.Factory.makeInstruction(dexFile, Opcode.NOP, new byte[]{0x00, 0x00}); + instruction = Opcode.NOP.format.Factory.makeInstruction(dexFile, Opcode.NOP, new byte[]{0x00}); return; case 0x01: //packed switch