From 1cf085d558fd73f2599fb68e600365dd20502e2b Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 1 Jul 2009 21:22:36 +0000 Subject: Hold the LLVMContext by reference rather than by pointer. llvm-svn: 74640 --- llvm/examples/ParallelJIT/ParallelJIT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/examples/ParallelJIT/ParallelJIT.cpp') diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp index 858cd52de6a..eadd0f58e5d 100644 --- a/llvm/examples/ParallelJIT/ParallelJIT.cpp +++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp @@ -236,7 +236,7 @@ int main() { LLVMContext Context; // Create some module to put our function into it. - Module *M = new Module("test", &Context); + Module *M = new Module("test", Context); Function* add1F = createAdd1( M ); Function* fibF = CreateFibFunction( M ); -- cgit v1.2.3