[llvm-commits] [llvm] r58183 - /llvm/trunk/include/llvm/Target/TargetJITInfo.h

Oscar Fuentes ofv at wanadoo.es
Sat Oct 25 21:26:34 PDT 2008


Author: ofv
Date: Sat Oct 25 23:26:33 2008
New Revision: 58183

URL: http://llvm.org/viewvc/llvm-project?rev=58183&view=rev
Log:
Return something (i.e. NULL) from an unimplemented virtual function.

Modified:
    llvm/trunk/include/llvm/Target/TargetJITInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetJITInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetJITInfo.h?rev=58183&r1=58182&r2=58183&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetJITInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetJITInfo.h Sat Oct 25 23:26:33 2008
@@ -100,6 +100,7 @@
     /// meaningful to the target.
     virtual char* allocateThreadLocalMemory(size_t size) {
       assert(0 && "This target does not implement thread local storage!");
+      return 0;
     }
 
     /// needsGOT - Allows a target to specify that it would like the





More information about the llvm-commits mailing list