From: Owen Anderson Date: Mon, 22 Oct 2007 06:35:07 +0000 (+0000) Subject: Add downloadable code samples. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c333e4f0cb760455e4f474ba5481a94b8031d09c;p=oota-llvm.git Add downloadable code samples. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43219 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index 1de1a9d8061..978187f996f 100644 --- a/docs/tutorial/JITTutorial1.html +++ b/docs/tutorial/JITTutorial1.html @@ -19,6 +19,18 @@

Written by Owen Anderson

+ +
Code Samples
+ + +
+All the code in this example can be downloaded at Tutorial1.tar.bz2 or Tutorial1.zip. +
+ + +
A First Function
+ +

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:

diff --git a/docs/tutorial/Tutorial1.tar.bz2 b/docs/tutorial/Tutorial1.tar.bz2 new file mode 100644 index 00000000000..c2594d12cba Binary files /dev/null and b/docs/tutorial/Tutorial1.tar.bz2 differ diff --git a/docs/tutorial/Tutorial1.zip b/docs/tutorial/Tutorial1.zip new file mode 100644 index 00000000000..0726a229a52 Binary files /dev/null and b/docs/tutorial/Tutorial1.zip differ