diff options
author | Owen Anderson <resistor@mac.com> | 2007-11-19 16:10:59 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-11-19 16:10:59 +0000 |
commit | c280216c004eb542d6ec46feb04b6f38c1abafb6 (patch) | |
tree | 1342b8c4d0b63e7fccc8f2172aafc9f2e94a98aa /llvm/docs/tutorial | |
parent | 12a8610490372e8834f0ead1581eb0ff3c610ca2 (diff) | |
download | bcm5719-llvm-c280216c004eb542d6ec46feb04b6f38c1abafb6.tar.gz bcm5719-llvm-c280216c004eb542d6ec46feb04b6f38c1abafb6.zip |
Teach me to do stuff late at night.
llvm-svn: 44236
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r-- | llvm/docs/tutorial/JITTutorial2.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/tutorial/JITTutorial2.html b/llvm/docs/tutorial/JITTutorial2.html index c28524e44a6..261a7949e8c 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 practically the same as from the 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 essentially the same, except that <code>gcd</code> takes one more parameter than <code>mul_add</code>.</p> +<p>The first part of our code is practically the same as from the 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 essentially the same, except that <code>gcd</code> takes one fewer parameter than <code>mul_add</code>.</p> <div class="doc_code"> <pre> |