aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit3e7b5ca3b968c3639135d6a1504c4a1a7001deae (patch)
treec22b22a24a4db2bfedbc6ffaf4d6b58d550e0a81 /docs/tutorial
parent117c7e2a6afe1a06c6d00a98ffffccd7ba7aec7b (diff)
downloadexternal_llvm-3e7b5ca3b968c3639135d6a1504c4a1a7001deae.zip
external_llvm-3e7b5ca3b968c3639135d6a1504c4a1a7001deae.tar.gz
external_llvm-3e7b5ca3b968c3639135d6a1504c4a1a7001deae.tar.bz2
Various doc updates from Edward O'Callaghan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial')
-rw-r--r--docs/tutorial/JITTutorial1.html4
-rw-r--r--docs/tutorial/LangImpl3.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html
index ac3958e..5c65399 100644
--- a/docs/tutorial/JITTutorial1.html
+++ b/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/docs/tutorial/LangImpl3.html b/docs/tutorial/LangImpl3.html
index 499b4c2..5031427 100644
--- a/docs/tutorial/LangImpl3.html
+++ b/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>