summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit706db2e609a382cc6db1e9ad9d75a20ed3429fab (patch)
treeea5117cc669796588032307140205a3baeb9f165 /llvm/docs/tutorial
parent3d1ab08e8abc4c585c27c71bbe8bcfc53144e958 (diff)
downloadbcm5719-llvm-706db2e609a382cc6db1e9ad9d75a20ed3429fab.tar.gz
bcm5719-llvm-706db2e609a382cc6db1e9ad9d75a20ed3429fab.zip
[Kaleidoscope][BuildingAJIT] Clean up sentence, remove comments from code block.
llvm-svn: 271913
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/BuildingAJIT2.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT2.rst b/llvm/docs/tutorial/BuildingAJIT2.rst
index 3f484d9d092..87f1d299d42 100644
--- a/llvm/docs/tutorial/BuildingAJIT2.rst
+++ b/llvm/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));
OpenPOWER on IntegriCloud