VC++ demands that the function returns a value
authorJeff Cohen <jeffc@jolt-lang.org>
Tue, 12 Jul 2005 02:53:33 +0000 (02:53 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Tue, 12 Jul 2005 02:53:33 +0000 (02:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22393 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ELFWriter.cpp

index 265adaba00aea4c6337a54edd7979bfaeb086afd..198e9cca5e7ed9011071c4024ba29b9a6e6ee61f 100644 (file)
@@ -81,6 +81,7 @@ namespace llvm {
     }
     virtual uint64_t getConstantPoolEntryAddress(unsigned Index) {
       assert(0 && "CP not implementated yet!");
+      return 0;
     }
 
     /// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!