[vmkit-commits] [vmkit] r96170 - /vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun Feb 14 08:24:55 PST 2010


Author: geoffray
Date: Sun Feb 14 10:24:55 2010
New Revision: 96170

URL: http://llvm.org/viewvc/llvm-project?rev=96170&view=rev
Log:
Fix compilation error on llvm-gcc.


Modified:
    vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp

Modified: vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp?rev=96170&r1=96169&r2=96170&view=diff

==============================================================================
--- vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp (original)
+++ vmkit/trunk/lib/J3/Compiler/JavaJITCompiler.cpp Sun Feb 14 10:24:55 2010
@@ -434,7 +434,7 @@
   if (!ctpInfo->ctpRes[index]) {
     // Do a compare and swap, so that we do not overwrtie what a stub might
     // have just updated.
-    uintptr_t val =
+    uintptr_t val = (uintptr_t)
       __sync_val_compare_and_swap(&(ctpInfo->ctpRes[index]), NULL, stub);
     // If there is something in the the constant pool that is not NULL nor
     // the stub, then it's the method.





More information about the vmkit-commits mailing list