diff options
author | Owen Anderson <resistor@mac.com> | 2007-10-20 06:12:33 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-10-20 06:12:33 +0000 |
commit | 18be874e6780db2aa074338b0c4286409505ecda (patch) | |
tree | 068424f450fb3370b1c49d46ceae6c8228f5a15b /llvm/docs | |
parent | 9f2be01f868dc3fce5d19c9fcd5feaa054818886 (diff) | |
download | bcm5719-llvm-18be874e6780db2aa074338b0c4286409505ecda.tar.gz bcm5719-llvm-18be874e6780db2aa074338b0c4286409505ecda.zip |
Some improvements based on feedback from Anders.
llvm-svn: 43203
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/tutorial/Tutorial1.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/Tutorial1.html b/llvm/docs/tutorial/Tutorial1.html index bb7f8d1c488..77570164035 100644 --- a/llvm/docs/tutorial/Tutorial1.html +++ b/llvm/docs/tutorial/Tutorial1.html @@ -44,7 +44,7 @@ entry: </pre> </div> -<p>Before going any further in this tutorial, you should look through the <a href="../LangRef.html">LLVM Language Reference Manual</a> and convince yourself that the above LLVM IR is actually equivalent to the original function. Once you’re satisfied with that, let’s move on to actually generating it programmatically!</p> +<p>If you're unsure what the above code says, skim through the <a href="../LangRef.html">LLVM Language Reference Manual</a> and convince yourself that the above LLVM IR is actually equivalent to the original function. Once you’re satisfied with that, let’s move on to actually generating it programmatically!</p> <p>... STUFF ABOUT HEADERS ... </p> @@ -76,7 +76,7 @@ int main(int argc, char**argv) { <p>Finally, we instantiate an LLVM <code>PassManager</code> and run the <code>PrintModulePass</code> on our module. LLVM uses an explicit pass infrastructure to manage optimizations and various other things. A <code>PassManager</code>, as should be obvious from its name, manages passes: it is responsible for scheduling them, invoking them, and insuring the proper disposal after we’re done with them. For this example, we’re just using a trivial pass that prints out our module in textual form.</p> -<p>Now onto the interesting part: creating a populating a module. Here’s the first chunk of our <code>createLLVMModule()</code>:</p> +<p>Now onto the interesting part: creating a populating a module. Here’s the first chunk of our <code>makeLLVMModule()</code>:</p> <div class="doc_code"> <pre> |