From: Chris Lattner Date: Tue, 6 Nov 2007 05:07:30 +0000 (+0000) Subject: clarify what proto is. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a1cd224a230dc51a4afd1590a4f2711cd713bff7;p=oota-llvm.git clarify what proto is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43753 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/tutorial/LangImpl3.html b/docs/tutorial/LangImpl3.html index 5e6d2c82f75..0d024467d1d 100644 --- a/docs/tutorial/LangImpl3.html +++ b/docs/tutorial/LangImpl3.html @@ -418,9 +418,10 @@ Function *FunctionAST::Codegen() {

Code generation for function definitions starts out simply enough: first we -codegen the prototype and verify that it is ok. We also clear out the +codegen the prototype (Proto) and verify that it is ok. We also clear out the NamedValues map to make sure that there isn't anything in it from the -last function we compiled.

+last function we compiled. Code generation of the prototype ensures that there +is an LLVM Function object that is ready to go for us.