[vmkit-commits] [vmkit] r58998 - /vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Nov 10 12:36:52 PST 2008
Author: geoffray
Date: Mon Nov 10 14:36:51 2008
New Revision: 58998
URL: http://llvm.org/viewvc/llvm-project?rev=58998&view=rev
Log:
Remove warnings.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp?rev=58998&r1=58997&r2=58998&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JavaRuntimeJIT.cpp Mon Nov 10 14:36:51 2008
@@ -253,18 +253,20 @@
extern "C" void printMethodStart(JavaMethod* meth) {
- printf("[%d] executing %s\n", mvm::Thread::get(), meth->printString());
+ printf("[%x] executing %s\n", (unsigned)mvm::Thread::get(),
+ meth->printString());
fflush(stdout);
}
extern "C" void printMethodEnd(JavaMethod* meth) {
- printf("[%d] return from %s\n", mvm::Thread::get(), meth->printString());
+ printf("[%x] return from %s\n", (unsigned)mvm::Thread::get(),
+ meth->printString());
fflush(stdout);
}
extern "C" void printExecution(char* opcode, uint32 index, JavaMethod* meth) {
- printf("[%d] executing %s %s at %d\n", mvm::Thread::get(), meth->printString(),
- opcode, index);
+ printf("[%x] executing %s %s at %d\n", (unsigned)mvm::Thread::get(),
+ meth->printString(), opcode, index);
fflush(stdout);
}
More information about the vmkit-commits
mailing list