There isn't any c++ code in LangImpl8.html, so use that
[oota-llvm.git] / docs / tutorial / LangImpl5.html
index 8672cdd00f3d377e822ce565cfab6371a09aebd6..f40efb26d8556e8924143cb097d35443cdc55159 100644 (file)
@@ -1735,16 +1735,17 @@ int main() {
     MainLoop();
     
     TheFPM = 0;
-  }  // Free module provider and pass manager.
-                                   
+
+    // Print out all of the generated code.
+    TheModule->dump();
+  }  // Free module provider (and thus the module) and pass manager.
                                    
-  // Print out all of the generated code.
-  TheModule->dump();
   return 0;
 }
 </pre>
 </div>
 
+<a href="LangImpl6.html">Next: Extending the language: user-defined operators</a>
 </div>
 
 <!-- *********************************************************************** -->