summaryrefslogtreecommitdiffstats
path: root/docs/tutorial/LangImpl6.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-05 06:18:42 +0000
committerChris Lattner <sabre@nondot.org>2008-02-05 06:18:42 +0000
commit515686b13040d4a27b0537488247f1426ae4c4af (patch)
treec0e66bd136f21f11c781eab7dda23988cd8e3912 /docs/tutorial/LangImpl6.html
parent7c95debb496624ee43c2f25cc4d7299f4c589bb2 (diff)
downloadexternal_llvm-515686b13040d4a27b0537488247f1426ae4c4af.zip
external_llvm-515686b13040d4a27b0537488247f1426ae4c4af.tar.gz
external_llvm-515686b13040d4a27b0537488247f1426ae4c4af.tar.bz2
dump the module *before* we delete it, not after.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl6.html')
-rw-r--r--docs/tutorial/LangImpl6.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html
index 013da2e..022d6fa 100644
--- a/docs/tutorial/LangImpl6.html
+++ b/docs/tutorial/LangImpl6.html
@@ -1774,11 +1774,11 @@ int main() {
MainLoop();
TheFPM = 0;
- } // Free module provider and pass manager.
-
-
- // Print out all of the generated code.
- TheModule->dump();
+
+ // Print out all of the generated code.
+ TheModule-&gt;dump();
+ } // Free module provider (and thus the module) and pass manager.
+
return 0;
}
</pre>