[llvm-commits] CVS: llvm-java/lib/Compiler/Compiler.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Tue Jan 25 06:23:57 PST 2005



Changes in directory llvm-java/lib/Compiler:

Compiler.cpp updated: 1.194 -> 1.195
---
Log message:

Indent to 2 spaces and untabify.


---
Diffs of the changes:  (+7 -7)

 Compiler.cpp |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)


Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.194 llvm-java/lib/Compiler/Compiler.cpp:1.195
--- llvm-java/lib/Compiler/Compiler.cpp:1.194	Tue Jan 25 02:40:28 2005
+++ llvm-java/lib/Compiler/Compiler.cpp	Tue Jan 25 08:23:46 2005
@@ -311,7 +311,7 @@
 
       PATypeHolder holder = ci.type;
       cast<OpaqueType>(ci.type)->
-          refineAbstractTypeTo(StructType::get(elements));
+        refineAbstractTypeTo(StructType::get(elements));
       ci.type = holder.get();
 
       DEBUG(std::cerr << "Adding java/lang/Object = "
@@ -587,9 +587,9 @@
     /// Builds an interface VTable for the specified <class,interface>
     /// pair.
     llvm::Constant* buildInterfaceVTable(ClassFile* cf, ClassFile* interface) {
-        DEBUG(std::cerr << "Building interface vtable: "
-              << interface->getThisClass()->getName()->str() << " for: "
-              << cf->getThisClass()->getName()->str() << '\n');
+      DEBUG(std::cerr << "Building interface vtable: "
+            << interface->getThisClass()->getName()->str() << " for: "
+            << cf->getThisClass()->getName()->str() << '\n');
 
       const VTableInfo& classVI = getVTableInfo(cf);
       const VTableInfo& interfaceVI = getVTableInfo(interface);
@@ -1259,7 +1259,7 @@
         DEBUG(std::cerr << "Adding stub for natively implemented method: "
               << classMethodDesc << '\n');
         FunctionType* jniFuncTy =
-            cast<FunctionType>(getJNIType(method->getDescriptor()));
+          cast<FunctionType>(getJNIType(method->getDescriptor()));
 
         std::string funcName =
           "Java_" +
@@ -1288,7 +1288,7 @@
         }
         Value* result = new CallInst(jniFunction, params, "", bb);
         if (result->getType() != Type::VoidTy)
-            result = new CastInst(result, function->getReturnType(), TMP,bb);
+          result = new CastInst(result, function->getReturnType(), TMP,bb);
         new ReturnInst(result, bb);
 
         return function;
@@ -1592,7 +1592,7 @@
 
     void do_aload_common(Type* arrayTy) {
       Value* index = pop(Type::IntTy);
-      Value* arrayRef =	pop(PointerType::get(arrayTy));
+      Value* arrayRef = pop(PointerType::get(arrayTy));
 
       std::vector<Value*> indices;
       indices.reserve(3);






More information about the llvm-commits mailing list