aboutsummaryrefslogtreecommitdiff
path: root/docs/tutorial/JITTutorial1.html
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-10-22 06:35:07 +0000
committerOwen Anderson <resistor@mac.com>2007-10-22 06:35:07 +0000
commitc333e4f0cb760455e4f474ba5481a94b8031d09c (patch)
treeea62b8d07584f5c09657045cdd0d3f7e2446a712 /docs/tutorial/JITTutorial1.html
parente6c9104eb92c9ef595d0b6f352e311164287a7f1 (diff)
Add downloadable code samples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/JITTutorial1.html')
-rw-r--r--docs/tutorial/JITTutorial1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html
index 1de1a9d806..978187f996 100644
--- a/docs/tutorial/JITTutorial1.html
+++ b/docs/tutorial/JITTutorial1.html
@@ -19,6 +19,18 @@
<p>Written by <a href="mailto:owen@apple.com">Owen Anderson</a></p>
</div>
+<!-- *********************************************************************** -->
+<div class="doc_section"><a name="intro">Code Samples</a></div>
+<!-- *********************************************************************** -->
+
+<div class="doc_text">
+All the code in this example can be downloaded at <a href="Tutorial1.tar.bz2">Tutorial1.tar.bz2</a> or <a href="Tutorial1.zip">Tutorial1.zip</a>.
+</div>
+
+<!-- *********************************************************************** -->
+<div class="doc_section"><a name="intro">A First Function</a></div>
+<!-- *********************************************************************** -->
+
<div class="doc_text">
<p>For starters, lets consider a relatively straightforward function that takes three integer parameters and returns an arithmetic combination of them. This is nice and simple, especially since it involves no control flow:</p>