diff options
author | Owen Anderson <resistor@mac.com> | 2007-11-19 07:44:43 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-11-19 07:44:43 +0000 |
commit | b642421ac2cbefb805a65c90b2c4948e711a0484 (patch) | |
tree | 3f5383c9b78f6ae2dd67f7308dd502176415192f /docs/tutorial | |
parent | 8e769985f4a79240639b9265ea35db1191a10e73 (diff) | |
download | external_llvm-b642421ac2cbefb805a65c90b2c4948e711a0484.zip external_llvm-b642421ac2cbefb805a65c90b2c4948e711a0484.tar.gz external_llvm-b642421ac2cbefb805a65c90b2c4948e711a0484.tar.bz2 |
Fix a factually incorrect statement pointed out by Max Hailperin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial')
-rw-r--r-- | docs/tutorial/JITTutorial2.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html index 06d0df1..c28524e 100644 --- a/docs/tutorial/JITTutorial2.html +++ b/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 to have the same prototype as our <code>mul_add</code> function.</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> <div class="doc_code"> <pre> |