From: Chris Lattner Date: Fri, 12 May 2006 17:29:40 +0000 (+0000) Subject: Avoid defining dead result X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=433698bbbc65a098cbc6704d6dbfc0ed5f2c7d0f;p=oota-llvm.git Avoid defining dead result git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp index d960fc48971..339c8afb3cd 100644 --- a/projects/Stacker/lib/compiler/StackerCompiler.cpp +++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp @@ -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 ) {