diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
| commit | eb11fae6d08f479c0799db45860a98af528fa6e7 (patch) | |
| tree | 44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /examples/ModuleMaker | |
| parent | b8a2042aa938069e862750553db0e4d82d25822c (diff) | |
Notes
Diffstat (limited to 'examples/ModuleMaker')
| -rw-r--r-- | examples/ModuleMaker/ModuleMaker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ModuleMaker/ModuleMaker.cpp b/examples/ModuleMaker/ModuleMaker.cpp index 54f014e6fc82..beff40a8d506 100644 --- a/examples/ModuleMaker/ModuleMaker.cpp +++ b/examples/ModuleMaker/ModuleMaker.cpp @@ -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; |
