[vmkit-commits] [vmkit] r69088 - /vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Apr 14 15:18:04 PDT 2009


Author: geoffray
Date: Tue Apr 14 17:18:04 2009
New Revision: 69088

URL: http://llvm.org/viewvc/llvm-project?rev=69088&view=rev
Log:
Fix formatting.


Modified:
    vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp

Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp?rev=69088&r1=69087&r2=69088&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaJITOpcodes.cpp Tue Apr 14 17:18:04 2009
@@ -1858,11 +1858,11 @@
 
           LLVMAssessorInfo& LAI = LLVMAssessorInfo::AssessorInfo[charId];
           sizeElement = LAI.sizeInBytesConstant;
-          if (TheCompiler->isStaticCompiling() && 
+          if (TheCompiler->isStaticCompiling() &&
               valCl->getType() != module->JavaClassArrayType) {
-              valCl = new LoadInst(valCl, "", currentBlock);
-              TheVT = CallInst::Create(module->GetVTFromClassArrayFunction,
-                                       valCl, "", currentBlock);
+            valCl = new LoadInst(valCl, "", currentBlock);
+            TheVT = CallInst::Create(module->GetVTFromClassArrayFunction,
+                                     valCl, "", currentBlock);
           } else {
             TheVT = TheCompiler->getVirtualTable(dcl->virtualVT);
           }





More information about the vmkit-commits mailing list