Update examples for API change. NFC.

llvm-svn: 325157
This commit is contained in:
Rafael Espindola committed 2018-02-14 19:23:27 +00:00
1 parent 76c8f82e08
commit 24be43d22b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ int main() {
BB->getInstList().push_back(ReturnInst::Create(Context, Add));
// Output the bitcode file to stdout
WriteBitcodeToFile(M, outs());
WriteBitcodeToFile(*M, outs());
// Delete the module and all of its contents.
delete M;