[llvm-commits] [vmkit] r52714 - /vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed Jun 25 04:12:38 PDT 2008


Author: geoffray
Date: Wed Jun 25 06:12:33 2008
New Revision: 52714

URL: http://llvm.org/viewvc/llvm-project?rev=52714&view=rev
Log:
Remove some warnings.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp

Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp?rev=52714&r1=52713&r2=52714&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaConstantPool.cpp Wed Jun 25 06:12:33 2008
@@ -76,7 +76,7 @@
                                    void** ctpRes, uint8* ctpType) {
   uint32 val = reader.readU4();
   ctpDef[e] = val;
-  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <class>\tfloat: %p\n", e,
+  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <class>\tfloat: %d\n", e,
               val);
   return 1;
 }
@@ -181,7 +181,7 @@
   ctpDef[e + 1] = reader.readU4();
   ctpDef[e] = reader.readU4();
   ctpType[e] = ConstantLong;
-  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <long>\%d %d\n", e,
+  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <long>%d %d\n", e,
               ctpDef[e], ctpDef[e + 1]);
   return 2;
 }
@@ -192,7 +192,7 @@
   ctpDef[e + 1] = reader.readU4();
   ctpDef[e] = reader.readU4();
   ctpType[e] = ConstantDouble;
-  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <double>\%d %d\n", e,
+  PRINT_DEBUG(JNJVM_LOAD, 3, COLOR_NORMAL, "; [%5d] <double>%d %d\n", e,
               ctpDef[e], ctpDef[e + 1]);
   return 2;
 }





More information about the llvm-commits mailing list