summaryrefslogtreecommitdiff
path: root/docs/tutorial
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-06-06 18:07:23 +0000
committerLang Hames <lhames@gmail.com>2016-06-06 18:07:23 +0000
commitbae1eaf5d812e2d375fe8aff6f0c5a22f1d18f4d (patch)
tree4d06197d83b2000eac4c91bc2b77391d510ed814 /docs/tutorial
parentb17db4cf266f8f7626219141667874f3c6e31384 (diff)
[Kaleidoscope][BuildingAJIT] Clean up sentence, remove comments from code block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial')
-rw-r--r--docs/tutorial/BuildingAJIT2.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/tutorial/BuildingAJIT2.rst b/docs/tutorial/BuildingAJIT2.rst
index 3f484d9d092..87f1d299d42 100644
--- a/docs/tutorial/BuildingAJIT2.rst
+++ b/docs/tutorial/BuildingAJIT2.rst
@@ -84,8 +84,8 @@ which sits on top of our CompileLayer.
To initialize our OptimizeLayer we pass it a reference to the CompileLayer
below (standard practice for layers), and we initialize the OptimizeFunction
-using a lambda. In the lambda, we just call out to the "optimizeModule" function
-that we will define below.
+using a lambda that calls out to an "optimizeModule" function that we will
+define below.
.. code-block:: c++
@@ -101,8 +101,6 @@ that we will define below.
.. code-block:: c++
// ...
- // Add the set to the JIT with the resolver we created above and a newly
- // created SectionMemoryManager.
return OptimizeLayer.addModuleSet(std::move(Ms),
make_unique<SectionMemoryManager>(),
std::move(Resolver));