changeset 10:195f2ce5387a

Renamed one of the opcodes for the DEX parser. * dex/Opcode.java: Renamed RSUB_INT to RSUB_INT_LIT16 for consistency. * dex/Code.java (acceptInsns): Adapted to above change.
author Michael Starzinger <michi@complang.tuwien.ac.at>
date Mon, 14 Mar 2011 21:25:15 +0100
parents e345d1fc8f7c
children e4b2d9a387ad
files src/main/java/org/icedrobot/daneel/dex/Code.java src/main/java/org/icedrobot/daneel/dex/Opcode.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/org/icedrobot/daneel/dex/Code.java	Mon Mar 14 21:19:05 2011 +0100
+++ b/src/main/java/org/icedrobot/daneel/dex/Code.java	Mon Mar 14 21:25:15 2011 +0100
@@ -599,7 +599,7 @@
                 break;
 
             case ADD_INT_LIT16:
-            case RSUB_INT/*_LIT16*/:
+            case RSUB_INT_LIT16:
             case MUL_INT_LIT16:
             case DIV_INT_LIT16:
             case REM_INT_LIT16:
--- a/src/main/java/org/icedrobot/daneel/dex/Opcode.java	Mon Mar 14 21:19:05 2011 +0100
+++ b/src/main/java/org/icedrobot/daneel/dex/Opcode.java	Mon Mar 14 21:25:15 2011 +0100
@@ -232,7 +232,7 @@
     DIV_DOUBLE_2ADDR(0xce),
     REM_DOUBLE_2ADDR(0xcf),
     ADD_INT_LIT16(0xd0),
-    RSUB_INT(0xd1),
+    RSUB_INT_LIT16(0xd1),
     MUL_INT_LIT16(0xd2),
     DIV_INT_LIT16(0xd3),
     REM_INT_LIT16(0xd4),