aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 22:47:03 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 22:47:03 +0000
commit3a56ae8bbbf04a3051a13ea7a30318c923bb30cc (patch)
tree888cefd69b4f4a1f837a3e3884c3d16589751dad /llvm/docs/tutorial
parent0ecf7b6f4ae6a67da95b34cb2e1b548b482543eb (diff)
downloadllvm-3a56ae8bbbf04a3051a13ea7a30318c923bb30cc.zip
llvm-3a56ae8bbbf04a3051a13ea7a30318c923bb30cc.tar.gz
llvm-3a56ae8bbbf04a3051a13ea7a30318c923bb30cc.tar.bz2
Various doc updates from Edward O'Callaghan!
llvm-svn: 76668
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/JITTutorial1.html4
-rw-r--r--llvm/docs/tutorial/LangImpl3.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/tutorial/JITTutorial1.html b/llvm/docs/tutorial/JITTutorial1.html
index ac3958e..5c65399 100644
--- a/llvm/docs/tutorial/JITTutorial1.html
+++ b/llvm/docs/tutorial/JITTutorial1.html
@@ -107,7 +107,7 @@ first chunk of our <code>makeLLVMModule()</code>:</p>
<pre>
Module* makeLLVMModule() {
// Module Construction
- Module* mod = new Module("test");
+ Module* mod = new Module("test", getGlobalContext());
</pre>
</div>
@@ -200,7 +200,7 @@ function will interoperate properly with C code, which is a good thing.</p>
<a href="mailto:owen@apple.com">Owen Anderson</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007-10-17 11:05:13 -0700 (Wed, 17 Oct 2007) $
+ Last modified: $Date: 2009-07-21 11:05:13 -0700 (Tue, 21 Jul 2009) $
</address>
</body>
diff --git a/llvm/docs/tutorial/LangImpl3.html b/llvm/docs/tutorial/LangImpl3.html
index 499b4c2..5031427 100644
--- a/llvm/docs/tutorial/LangImpl3.html
+++ b/llvm/docs/tutorial/LangImpl3.html
@@ -1028,7 +1028,7 @@ static PrototypeAST *ParseExtern() {
//===----------------------------------------------------------------------===//
static Module *TheModule;
-static IRBuilder&lt;&gt; Builder;
+static IRBuilder&lt;&gt; Builder(getGlobalContext());
static std::map&lt;std::string, Value*&gt; NamedValues;
Value *ErrorV(const char *Str) { Error(Str); return 0; }
@@ -1249,7 +1249,7 @@ int main() {
<a href="mailto:sabre@nondot.org">Chris Lattner</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2007-10-17 11:05:13 -0700 (Wed, 17 Oct 2007) $
+ Last modified: $Date: 2009-07-21 11:05:13 -0700 (Tue, 21 Jul 2009) $
</address>
</body>
</html>