summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
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
commit36d256f17080252a2d0293f9f526c6f3aa2d31fa (patch)
treefe5e77899493e4d9bd5293a50cb001d3412deeb0 /llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
parent917f8fd1d9c5290b4b1b056049092bcb1761774d (diff)
downloadbcm5719-llvm-36d256f17080252a2d0293f9f526c6f3aa2d31fa.tar.gz
bcm5719-llvm-36d256f17080252a2d0293f9f526c6f3aa2d31fa.zip
Avoid defining dead result
llvm-svn: 28246
Diffstat (limited to 'llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r--llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp b/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
index d960fc48971..339c8afb3cd 100644
--- a/llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
+++ b/llvm/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 )
{
OpenPOWER on IntegriCloud