[llvm-commits] CVS: llvm/lib/Transforms/LevelRaise.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 20 12:35:01 PST 2002
Changes in directory llvm/lib/Transforms:
LevelRaise.cpp updated: 1.75 -> 1.76
---
Log message:
- Eliminated the deferred symbol table stuff in Module & Function, it really
wasn't an optimization and it was causing lots of bugs.
---
Diffs of the changes:
Index: llvm/lib/Transforms/LevelRaise.cpp
diff -u llvm/lib/Transforms/LevelRaise.cpp:1.75 llvm/lib/Transforms/LevelRaise.cpp:1.76
--- llvm/lib/Transforms/LevelRaise.cpp:1.75 Tue Oct 22 18:34:11 2002
+++ llvm/lib/Transforms/LevelRaise.cpp Wed Nov 20 12:34:35 2002
@@ -209,7 +209,7 @@
if (!Src->hasName() && CI->hasName()) {
std::string Name = CI->getName();
CI->setName("");
- Src->setName(Name, BB->getParent()->getSymbolTable());
+ Src->setName(Name, &BB->getParent()->getSymbolTable());
}
// DCE the instruction now, to avoid having the iterative version of DCE
More information about the llvm-commits
mailing list