Avoid defining dead result
authorChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 17:29:40 +0000 (17:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 May 2006 17:29:40 +0000 (17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/StackerCompiler.cpp

index d960fc48971e3f5f36f1884a3236a1ca8ef32697..339c8afb3cd21c1652dafaf185983a2fbed90202 100644 (file)
@@ -675,9 +675,9 @@ StackerCompiler::handle_definition( char * name, Function* f )
 {
     // Look up the function name in the module to see if it was forward
     // declared.
+#if 0
     Function* existing_function = TheModule->getNamedFunction( name );
 
-#if 0
     // If the function already exists...
     if ( existing_function )
     {