A couple minor fixes suggested by Matthijs Kooijman
authorChris Lattner <sabre@nondot.org>
Tue, 15 Apr 2008 16:59:22 +0000 (16:59 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Apr 2008 16:59:22 +0000 (16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49729 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tutorial/LangImpl3.html
docs/tutorial/LangImpl4.html

index 47e178397a876a9a086e08ab86fa38d57f26f5db..7f4b76a554ee1ecab87e4905840da84a20c9662a 100644 (file)
@@ -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
index 999c194bf98622f77e382d72152a178e1262de5a..ddd609210d8d9ff1a237f269b3e819269f8ad415 100644 (file)
@@ -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