fix a pasto

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26627 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-09 06:09:41 +00:00
parent c097798f61
commit e2b59d2760

View 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);