aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-15 16:59:22 +0000
committerChris Lattner <sabre@nondot.org>2008-04-15 16:59:22 +0000
commit1ace67c5219679df46f5280708388b18f8f09847 (patch)
treec12db2f9aa1704733311129ccf712b3b80f650fc /docs/tutorial
parent6ccbbd89906157187ac04b2b3237c4aee7acd095 (diff)
downloadexternal_llvm-1ace67c5219679df46f5280708388b18f8f09847.zip
external_llvm-1ace67c5219679df46f5280708388b18f8f09847.tar.gz
external_llvm-1ace67c5219679df46f5280708388b18f8f09847.tar.bz2
A couple minor fixes suggested by Matthijs Kooijman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial')
-rw-r--r--docs/tutorial/LangImpl3.html2
-rw-r--r--docs/tutorial/LangImpl4.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/LangImpl3.html b/docs/tutorial/LangImpl3.html
index 47e1783..7f4b76a 100644
--- a/docs/tutorial/LangImpl3.html
+++ b/docs/tutorial/LangImpl3.html
@@ -327,7 +327,7 @@ don't "new" a type, you "get" it.</p>
<p>The final line above actually creates the function that the prototype will
correspond to. This indicates the type, linkage and name to use, as well as which
-module to insert into. "<a href="LangRef.html#linkage">external linkage</a>"
+module to insert into. "<a href="../LangRef.html#linkage">external linkage</a>"
means that the function may be defined outside the current module and/or that it
is callable by functions outside the module. The Name passed in is the name the
user specified: since "<tt>TheModule</tt>" is specified, this name is registered
diff --git a/docs/tutorial/LangImpl4.html b/docs/tutorial/LangImpl4.html
index 999c194..ddd6092 100644
--- a/docs/tutorial/LangImpl4.html
+++ b/docs/tutorial/LangImpl4.html
@@ -123,7 +123,7 @@ entry:
<p>In this case, the LHS and RHS of the multiplication are the same value. We'd
really like to see this generate "<tt>tmp = x+3; result = tmp*tmp;</tt>" instead
-of computing "<tt>x*3</tt>" twice.</p>
+of computing "<tt>x+3</tt>" twice.</p>
<p>Unfortunately, no amount of local analysis will be able to detect and correct
this. This requires two transformations: reassociation of expressions (to