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

Alkis Evlogimenos alkis at cs.uiuc.edu
Thu Dec 2 16:29:55 PST 2004



Changes in directory llvm-java/lib/Compiler:

Compiler.cpp updated: 1.151 -> 1.152
---
Log message:

Silence warnings.


---
Diffs of the changes:  (+3 -0)

Index: llvm-java/lib/Compiler/Compiler.cpp
diff -u llvm-java/lib/Compiler/Compiler.cpp:1.151 llvm-java/lib/Compiler/Compiler.cpp:1.152
--- llvm-java/lib/Compiler/Compiler.cpp:1.151	Wed Nov 24 14:40:39 2004
+++ llvm-java/lib/Compiler/Compiler.cpp	Thu Dec  2 18:29:42 2004
@@ -540,6 +540,7 @@
         return arrayInfo;
       }
       }
+      abort();
     }
 
     /// Returns the ClassInfo object associated with an array of the
@@ -923,6 +924,7 @@
         return arrayInfo;
       }
       }
+      abort();
     }
 
     /// Initializes the VTableInfo map for object arrays; in other
@@ -997,6 +999,7 @@
                                      "java/lang/Object[]<vtable>",
                                      &module_);
       DEBUG(std::cerr << "Built VTableInfo for: java/lang/Object[]\n");
+      return true;
     }
 
     const VTableInfo& getObjectArrayVTableInfo(ClassFile* cf) {






More information about the llvm-commits mailing list