fix a pasto
authorChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 06:09:41 +0000 (06:09 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Mar 2006 06:09:41 +0000 (06:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/StripSymbols.cpp

index e1f7ea97ee31be184862e9e59c21d75e33411440..8fcbdd16e5aa1c2ca8fc610780b48b5a2b853e40 100644 (file)
@@ -100,7 +100,7 @@ bool StripSymbols::runOnModule(Module &M) {
   // 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);