summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/StripSymbols.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 06:09:41 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 06:09:41 +0000
commite2b59d2760a4f72c84c262af67642ba09e91bfd1 (patch)
tree49a1e266cfb4c2b4750a0ed44a070aae7c6fe22b /lib/Transforms/IPO/StripSymbols.cpp
parentc097798f61ce7f83b3405986a6a243c664f7800a (diff)
downloadllvm-e2b59d2760a4f72c84c262af67642ba09e91bfd1.tar.gz
llvm-e2b59d2760a4f72c84c262af67642ba09e91bfd1.tar.bz2
llvm-e2b59d2760a4f72c84c262af67642ba09e91bfd1.tar.xz
fix a pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/StripSymbols.cpp')
-rw-r--r--lib/Transforms/IPO/StripSymbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/StripSymbols.cpp b/lib/Transforms/IPO/StripSymbols.cpp
index e1f7ea97ee..8fcbdd16e5 100644
--- a/lib/Transforms/IPO/StripSymbols.cpp
+++ b/lib/Transforms/IPO/StripSymbols.cpp
@@ -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);