diff options
| author | Owen Anderson <resistor@mac.com> | 2009-07-01 21:22:36 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2009-07-01 21:22:36 +0000 |
| commit | 1cf085d558fd73f2599fb68e600365dd20502e2b (patch) | |
| tree | 39bfcf795980a39bd173e8cbc60962da057bbd9d /llvm/tools/bugpoint/bugpoint.cpp | |
| parent | 52337414b78f00aa7ff498e5872fd428996e8fe5 (diff) | |
| download | bcm5719-llvm-1cf085d558fd73f2599fb68e600365dd20502e2b.tar.gz bcm5719-llvm-1cf085d558fd73f2599fb68e600365dd20502e2b.zip | |
Hold the LLVMContext by reference rather than by pointer.
llvm-svn: 74640
Diffstat (limited to 'llvm/tools/bugpoint/bugpoint.cpp')
| -rw-r--r-- | llvm/tools/bugpoint/bugpoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp index 57007e035c4..3365b227b1f 100644 --- a/llvm/tools/bugpoint/bugpoint.cpp +++ b/llvm/tools/bugpoint/bugpoint.cpp @@ -76,7 +76,7 @@ int main(int argc, char **argv) { sys::SetInterruptFunction(BugpointInterruptFunction); LLVMContext Context; - BugDriver D(argv[0], AsChild, FindBugs, TimeoutValue, MemoryLimit, &Context); + BugDriver D(argv[0], AsChild, FindBugs, TimeoutValue, MemoryLimit, Context); if (D.addSources(InputFilenames)) return 1; D.addPasses(PassList.begin(), PassList.end()); |

