[llvm-commits] CVS: llvm/lib/Transforms/LevelRaise.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 5 11:05:34 PST 2005



Changes in directory llvm/lib/Transforms:

LevelRaise.cpp updated: 1.104 -> 1.105
---
Log message:

second argument to Value::setName is now gone.



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

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


Index: llvm/lib/Transforms/LevelRaise.cpp
diff -u llvm/lib/Transforms/LevelRaise.cpp:1.104 llvm/lib/Transforms/LevelRaise.cpp:1.105
--- llvm/lib/Transforms/LevelRaise.cpp:1.104	Wed Jan 19 10:16:35 2005
+++ llvm/lib/Transforms/LevelRaise.cpp	Sat Mar  5 13:05:18 2005
@@ -253,7 +253,7 @@
       if (!Src->hasName() && CI->hasName()) {
         std::string Name = CI->getName();
         CI->setName("");
-        Src->setName(Name, &BB->getParent()->getSymbolTable());
+        Src->setName(Name);
       }
 
       // DCE the instruction now, to avoid having the iterative version of DCE






More information about the llvm-commits mailing list