[llvm-commits] [vmkit] r52274 - /vmkit/trunk/lib/N3/VMCore/CLIJit.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sat Jun 14 06:44:59 PDT 2008


Author: geoffray
Date: Sat Jun 14 08:44:57 2008
New Revision: 52274

URL: http://llvm.org/viewvc/llvm-project?rev=52274&view=rev
Log:
mvm::jit::printObjectLLVM taks a i8*, not a VMObject::llvmType
as argument.


Modified:
    vmkit/trunk/lib/N3/VMCore/CLIJit.cpp

Modified: vmkit/trunk/lib/N3/VMCore/CLIJit.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/N3/VMCore/CLIJit.cpp?rev=52274&r1=52273&r2=52274&view=diff

==============================================================================
--- vmkit/trunk/lib/N3/VMCore/CLIJit.cpp (original)
+++ vmkit/trunk/lib/N3/VMCore/CLIJit.cpp Sat Jun 14 08:44:57 2008
@@ -2004,7 +2004,7 @@
     } else if (type == Type::DoubleTy) {
       CallInst::Create(mvm::jit::printDoubleLLVM, arg, "", insertAt);
     } else {
-      CallInst::Create(mvm::jit::printObjectLLVM, new BitCastInst(arg, VMObject::llvmType, "", insertAt), "", insertAt);
+      CallInst::Create(mvm::jit::printObjectLLVM, new BitCastInst(arg, mvm::jit::ptrType, "", insertAt), "", insertAt);
     }
   }
 





More information about the llvm-commits mailing list