aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2015-03-31 22:48:45 +0000
committerSean Silva <chisophugis@gmail.com>2015-03-31 22:48:45 +0000
commitfb8908c9da906e662eb2d76b952a2dbf21f8b235 (patch)
treec7dadb50e33cf96535e1018ef20ea3a36c5e5aaf /llvm/docs/tutorial
parentd1079bf27ab5007a5bc6581b27bbfbd477155932 (diff)
downloadllvm-fb8908c9da906e662eb2d76b952a2dbf21f8b235.zip
llvm-fb8908c9da906e662eb2d76b952a2dbf21f8b235.tar.gz
llvm-fb8908c9da906e662eb2d76b952a2dbf21f8b235.tar.bz2
[docs] Fix typo.
Based on a patch by Stanislav Manilov! llvm-svn: 233771
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl5.rst2
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl5.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl5.rst b/llvm/docs/tutorial/LangImpl5.rst
index 72e34b1c..2dbc832 100644
--- a/llvm/docs/tutorial/LangImpl5.rst
+++ b/llvm/docs/tutorial/LangImpl5.rst
@@ -388,7 +388,7 @@ code:
The first two lines here are now familiar: the first adds the "merge"
block to the Function object (it was previously floating, like the else
-block above). The second block changes the insertion point so that newly
+block above). The second changes the insertion point so that newly
created code will go into the "merge" block. Once that is done, we need
to create the PHI node and set up the block/value pairs for the PHI.
diff --git a/llvm/docs/tutorial/OCamlLangImpl5.rst b/llvm/docs/tutorial/OCamlLangImpl5.rst
index b8ae3c5..0faecfb 100644
--- a/llvm/docs/tutorial/OCamlLangImpl5.rst
+++ b/llvm/docs/tutorial/OCamlLangImpl5.rst
@@ -336,7 +336,7 @@ for the 'then' block.
let phi = build_phi incoming "iftmp" builder in
The first two lines here are now familiar: the first adds the "merge"
-block to the Function object. The second block changes the insertion
+block to the Function object. The second changes the insertion
point so that newly created code will go into the "merge" block. Once
that is done, we need to create the PHI node and set up the block/value
pairs for the PHI.