summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 17:29:40 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 17:29:40 +0000
commit433698bbbc65a098cbc6704d6dbfc0ed5f2c7d0f (patch)
tree6c0af302f3b3da4e6130198cc5cc73757e48ffb4 /projects
parentb923b2e04bdc8597de24a756d7e073bd5bfe1e44 (diff)
downloadllvm-433698bbbc65a098cbc6704d6dbfc0ed5f2c7d0f.tar.gz
llvm-433698bbbc65a098cbc6704d6dbfc0ed5f2c7d0f.tar.bz2
llvm-433698bbbc65a098cbc6704d6dbfc0ed5f2c7d0f.tar.xz
Avoid defining dead result
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp
index d960fc4897..339c8afb3c 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 )
{