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

Chris Lattner lattner at cs.uiuc.edu
Wed Mar 8 22:09:54 PST 2006



Changes in directory llvm/lib/Transforms/IPO:

StripSymbols.cpp updated: 1.4 -> 1.5
---
Log message:

fix a pasto


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

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


Index: llvm/lib/Transforms/IPO/StripSymbols.cpp
diff -u llvm/lib/Transforms/IPO/StripSymbols.cpp:1.4 llvm/lib/Transforms/IPO/StripSymbols.cpp:1.5
--- llvm/lib/Transforms/IPO/StripSymbols.cpp:1.4	Thu Apr 21 18:39:37 2005
+++ llvm/lib/Transforms/IPO/StripSymbols.cpp	Thu Mar  9 00:09:41 2006
@@ -100,7 +100,7 @@
   // Remove all of the calls to the debugger intrinsics, and remove them from
   // the module.
   if (FuncStart) {
-    Value *RV = UndefValue::get(StopPoint->getFunctionType()->getReturnType());
+    Value *RV = UndefValue::get(FuncStart->getFunctionType()->getReturnType());
     while (!FuncStart->use_empty()) {
       CallInst *CI = cast<CallInst>(FuncStart->use_back());
       Value *Arg = CI->getOperand(1);






More information about the llvm-commits mailing list