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