diff options
author | Duncan Sands <baldrick@free.fr> | 2007-11-05 15:15:50 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-11-05 15:15:50 +0000 |
commit | f8bc406d5d54b923b025492dfbe3275eea1b359e (patch) | |
tree | 52a515216f6e20e23b5d06377b3b263313d5de58 /llvm/docs/tutorial/JITTutorial2.html | |
parent | bd72289baa91782db0ec8508d212b69d58b288aa (diff) | |
download | bcm5719-llvm-f8bc406d5d54b923b025492dfbe3275eea1b359e.tar.gz bcm5719-llvm-f8bc406d5d54b923b025492dfbe3275eea1b359e.zip |
Trivial fixes.
llvm-svn: 43707
Diffstat (limited to 'llvm/docs/tutorial/JITTutorial2.html')
-rw-r--r-- | llvm/docs/tutorial/JITTutorial2.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/tutorial/JITTutorial2.html b/llvm/docs/tutorial/JITTutorial2.html index 63efd6af646..06d0df1bde9 100644 --- a/llvm/docs/tutorial/JITTutorial2.html +++ b/llvm/docs/tutorial/JITTutorial2.html @@ -47,7 +47,7 @@ unsigned gcd(unsigned x, unsigned y) { <p>The above is a graphical representation of a program in LLVM IR. It places each basic block on a node of a graph, and uses directed edges to indicate flow control. These blocks will be serialized when written to a text or bitcode file, but it is often useful conceptually to think of them as a graph. Again, if you are unsure about the code in the diagram, you should skim through the <a href="../LangRef.html">LLVM Language Reference Manual</a> and convince yourself that it is, in fact, the GCD algorithm.</p> -<p>The first part of our code is the same as from first tutorial. The same basic setup is required: creating a module, verifying it, and running the <code>PrintModulePass</code> on it. Even the first segment of <code>makeLLVMModule()</code> looks the same, because <code>gcd</code> happens the have the same prototype as our <code>mul_add</code> function.</p> +<p>The first part of our code is the same as from first tutorial. The same basic setup is required: creating a module, verifying it, and running the <code>PrintModulePass</code> on it. Even the first segment of <code>makeLLVMModule()</code> looks the same, because <code>gcd</code> happens to have the same prototype as our <code>mul_add</code> function.</p> <div class="doc_code"> <pre> @@ -162,7 +162,7 @@ Module* makeLLVMModule() { </pre> </div> -<p>And that's it! You can compile your code and execute your code in the same way as before, by executing:</p> +<p>And that's it! You can compile and execute your code in the same way as before, by doing:</p> <div class="doc_code"> <pre> @@ -187,4 +187,4 @@ Module* makeLLVMModule() { </address> </body> -</html>
\ No newline at end of file +</html> |