summaryrefslogtreecommitdiffstats
path: root/llvm/docs
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
commita5eb45bcfd6e30260bac193deb8643c9ec741b84 (patch)
tree573d09ae95d10201268f0719bde167fd8c30d163 /llvm/docs
parent45887902b6902ecf87448b02af3fc9c62b2efaa4 (diff)
downloadbcm5719-llvm-a5eb45bcfd6e30260bac193deb8643c9ec741b84.tar.gz
bcm5719-llvm-a5eb45bcfd6e30260bac193deb8643c9ec741b84.zip
A couple minor fixes suggested by Matthijs Kooijman
llvm-svn: 49729
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/tutorial/LangImpl3.html2
-rw-r--r--llvm/docs/tutorial/LangImpl4.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl3.html b/llvm/docs/tutorial/LangImpl3.html
index 47e178397a8..7f4b76a554e 100644
--- a/llvm/docs/tutorial/LangImpl3.html
+++ b/llvm/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/llvm/docs/tutorial/LangImpl4.html b/llvm/docs/tutorial/LangImpl4.html
index 999c194bf98..ddd609210d8 100644
--- a/llvm/docs/tutorial/LangImpl4.html
+++ b/llvm/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
OpenPOWER on IntegriCloud