llvm.org GIT mirror llvm / bae1eaf
[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 Lang Hames 3 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
8383
8484 To initialize our OptimizeLayer we pass it a reference to the CompileLayer
8585 below (standard practice for layers), and we initialize the OptimizeFunction
86 using a lambda. In the lambda, we just call out to the "optimizeModule" function
87 that we will define below.
86 using a lambda that calls out to an "optimizeModule" function that we will
87 define below.
8888
8989 .. code-block:: c++
9090
100100 .. code-block:: c++
101101
102102 // ...
103 // Add the set to the JIT with the resolver we created above and a newly
104 // created SectionMemoryManager.
105103 return OptimizeLayer.addModuleSet(std::move(Ms),
106104 make_unique(),
107105 std::move(Resolver));