[llvm-commits] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri May 12 10:29:54 PDT 2006



Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.15 -> 1.16
---
Log message:

Avoid defining dead result


---
Diffs of the changes:  (+1 -1)

 StackerCompiler.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.15 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.16
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.15	Wed May  4 10:33:48 2005
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Fri May 12 12:29:40 2006
@@ -675,9 +675,9 @@
 {
     // 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 )
     {






More information about the llvm-commits mailing list