diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 22:47:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 22:47:03 +0000 |
commit | 3e7b5ca3b968c3639135d6a1504c4a1a7001deae (patch) | |
tree | c22b22a24a4db2bfedbc6ffaf4d6b58d550e0a81 /docs/tutorial | |
parent | 117c7e2a6afe1a06c6d00a98ffffccd7ba7aec7b (diff) |
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.html | 4 | ||||
-rw-r--r-- | docs/tutorial/LangImpl3.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index ac3958e642..5c65399c0c 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 499b4c20a7..5031427a7b 100644 --- a/docs/tutorial/LangImpl3.html +++ b/docs/tutorial/LangImpl3.html @@ -1028,7 +1028,7 @@ static PrototypeAST *ParseExtern() { //===----------------------------------------------------------------------===// static Module *TheModule; -static IRBuilder<> Builder; +static IRBuilder<> Builder(getGlobalContext()); static std::map<std::string, Value*> 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> |