summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-06 05:07:30 +0000
committerChris Lattner <sabre@nondot.org>2007-11-06 05:07:30 +0000
commit978ec3c389d8596ef8807fca5eb425eb10e2572d (patch)
tree4c77ab81b82de46a86db91c1ebdd93feba883f7e /llvm/docs/tutorial
parent0bf330a1bc20af7ed416c789a010ca8d67551fac (diff)
downloadbcm5719-llvm-978ec3c389d8596ef8807fca5eb425eb10e2572d.tar.gz
bcm5719-llvm-978ec3c389d8596ef8807fca5eb425eb10e2572d.zip
clarify what proto is.
llvm-svn: 43753
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl3.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl3.html b/llvm/docs/tutorial/LangImpl3.html
index 5e6d2c82f75..0d024467d1d 100644
--- a/llvm/docs/tutorial/LangImpl3.html
+++ b/llvm/docs/tutorial/LangImpl3.html
@@ -418,9 +418,10 @@ Function *FunctionAST::Codegen() {
</div>
<p>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
<tt>NamedValues</tt> map to make sure that there isn't anything in it from the
-last function we compiled.</p>
+last function we compiled. Code generation of the prototype ensures that there
+is an LLVM Function object that is ready to go for us.</p>
<div class="doc_code">
<pre>
OpenPOWER on IntegriCloud