diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index d508a806923..831e94cd5fe 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -347,7 +347,7 @@ supplied as the fourth argument.

struct Hello : public FunctionPass { static char ID; - Hello() : FunctionPass(ID) {} + Hello() : FunctionPass(&ID) {} virtual bool runOnFunction(Function &F) { errs() << "Hello: ";