fix a pasto
llvm-svn: 26627
diff --git a/llvm/lib/Transforms/IPO/StripSymbols.cpp b/llvm/lib/Transforms/IPO/StripSymbols.cpp
index e1f7ea9..8fcbdd1 100644
--- a/llvm/lib/Transforms/IPO/StripSymbols.cpp
+++ b/llvm/lib/Transforms/IPO/StripSymbols.cpp
@@ -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);