summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3295cfde98ec751c8bed09cf09f36055de406b48 (patch)
treef6e4a7a8ee2d51b2d5396375c0fa9c5c72640756 /llvm/docs/tutorial/JITTutorial1.html
parent3a48708c917b40f43d80b0e077d70b60ac6ec047 (diff)
downloadbcm5719-llvm-3295cfde98ec751c8bed09cf09f36055de406b48.tar.gz
bcm5719-llvm-3295cfde98ec751c8bed09cf09f36055de406b48.zip
Add downloadable code samples.
llvm-svn: 43219
Diffstat (limited to 'llvm/docs/tutorial/JITTutorial1.html')
-rw-r--r--llvm/docs/tutorial/JITTutorial1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/tutorial/JITTutorial1.html b/llvm/docs/tutorial/JITTutorial1.html
index 1de1a9d8061..978187f996f 100644
--- a/llvm/docs/tutorial/JITTutorial1.html
+++ b/llvm/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>
OpenPOWER on IntegriCloud