[llvm-commits] CVS: llvm-java/include/llvm/Java/BytecodeParser.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Nov 3 00:16:11 PST 2004



Changes in directory llvm-java/include/llvm/Java:

BytecodeParser.h updated: 1.12 -> 1.13
---
Log message:

Offsets for IFNULL and IFNONNULL are signed shorts.


---
Diffs of the changes:  (+2 -2)

Index: llvm-java/include/llvm/Java/BytecodeParser.h
diff -u llvm-java/include/llvm/Java/BytecodeParser.h:1.12 llvm-java/include/llvm/Java/BytecodeParser.h:1.13
--- llvm-java/include/llvm/Java/BytecodeParser.h:1.12	Thu Oct 28 14:12:50 2004
+++ llvm-java/include/llvm/Java/BytecodeParser.h	Wed Nov  3 02:15:59 2004
@@ -618,12 +618,12 @@
           break;
         }
         case IFNULL: {
-          unsigned t = curBC + readUShort(code, i);
+          unsigned t = curBC + readSShort(code, i);
           THIS->do_ifnull(t, i + 1);
           break;
         }
         case IFNONNULL: {
-          unsigned t = curBC + readUShort(code, i);
+          unsigned t = curBC + readSShort(code, i);
           THIS->do_ifnonnull(t, i + 1);
           break;
         }






More information about the llvm-commits mailing list