llvm.org GIT mirror llvm / 4fe1287
Update examples for API change. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325157 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 1 year, 7 months ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
170170 // is unmanageable because stdout linkage name depends on stdlib implementation.
171171 fflush(stdout);
172172 } else {
173 WriteBitcodeToFile(Mod.get(), *out);
173 WriteBitcodeToFile(*Mod, *out);
174174 }
175175
176176 //Clean up
6161 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
6262
6363 // Output the bitcode file to stdout
64 WriteBitcodeToFile(M, outs());
64 WriteBitcodeToFile(*M, outs());
6565
6666 // Delete the module and all of its contents.
6767 delete M;