[vmkit-commits] [vmkit] r55585 - /vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sun Aug 31 02:51:48 PDT 2008


Author: geoffray
Date: Sun Aug 31 04:51:48 2008
New Revision: 55585

URL: http://llvm.org/viewvc/llvm-project?rev=55585&view=rev
Log:
Typo.


Modified:
    vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp

Modified: vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp?rev=55585&r1=55584&r2=55585&view=diff

==============================================================================
--- vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp (original)
+++ vmkit/branches/isolate/lib/JnJVM/VMCore/JavaJIT.cpp Sun Aug 31 04:51:48 2008
@@ -1577,7 +1577,6 @@
   std::vector<Value*> Args;
 #ifdef MULTIPLE_VM
   Value* CTP = ctpCache;
-  std::vector<Value*> Args;
   Args.push_back(mvm::jit::constantOne);
   Value* Cl = GetElementPtrInst::Create(CTP, Args.begin(), Args.end(), "",
                                         currentBlock);
@@ -1595,12 +1594,7 @@
   Args.push_back(resolver);
   Args.push_back(CTP);
   Args.push_back(Cl);
-#ifndef MULTIPLE_VM
   Args.push_back(ConstantInt::get(Type::Int32Ty, index));
-#else
-  // Add one to the index because of the VT
-  Args.push_back(ConstantInt::get(Type::Int32Ty, index + 1));
-#endif
   if (additionalArg) Args.push_back(additionalArg);
 
   Value* res = 0;





More information about the vmkit-commits mailing list