summaryrefslogtreecommitdiffstats
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
parent3a48708c917b40f43d80b0e077d70b60ac6ec047 (diff)
downloadbcm5719-llvm-3295cfde98ec751c8bed09cf09f36055de406b48.tar.gz
bcm5719-llvm-3295cfde98ec751c8bed09cf09f36055de406b48.zip
Add downloadable code samples.
llvm-svn: 43219
-rw-r--r--llvm/docs/tutorial/JITTutorial1.html12
-rw-r--r--llvm/docs/tutorial/Tutorial1.tar.bz2bin0 -> 1159 bytes
-rw-r--r--llvm/docs/tutorial/Tutorial1.zipbin0 -> 1089 bytes
3 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>
diff --git a/llvm/docs/tutorial/Tutorial1.tar.bz2 b/llvm/docs/tutorial/Tutorial1.tar.bz2
new file mode 100644
index 00000000000..c2594d12cba
--- /dev/null
+++ b/llvm/docs/tutorial/Tutorial1.tar.bz2
Binary files differ
diff --git a/llvm/docs/tutorial/Tutorial1.zip b/llvm/docs/tutorial/Tutorial1.zip
new file mode 100644
index 00000000000..0726a229a52
--- /dev/null
+++ b/llvm/docs/tutorial/Tutorial1.zip
Binary files differ
OpenPOWER on IntegriCloud