From a9030cb414dfc4d2e709e4ade2c06fe80ae9ab72 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Sep 2002 22:08:07 +0000 Subject: [PATCH] Fix typeo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3767 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 5588144801c..28a50793857 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -526,7 +526,7 @@ class OurFunctionPass : public FunctionPass { virtual runOnFunction(Function& F) { for(Function::iterator b = F.begin(), be = F.end(); b != be; ++b) { for(BasicBlock::iterator i = b->begin(); ie = b->end(); i != ie; ++i) { - if (CallInst* callInst = dyn_cast<CallInst>(&*inst)) { + if (CallInst* callInst = dyn_cast<CallInst>(&*i)) { // we know we've encountered a call instruction, so we // need to determine if it's a call to the // function pointed to by m_func or not. @@ -1575,6 +1575,6 @@ pointer to the parent Function. Chris Lattner -Last modified: Thu Sep 12 14:07:53 CDT 2002 +Last modified: Mon Sep 16 17:07:43 CDT 2002 -- 2.34.1