From 31895e73591d3c9ceae731a1274c8f56194b9616 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/ParallelJIT/ParallelJIT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/ParallelJIT/ParallelJIT.cpp') diff --git a/examples/ParallelJIT/ParallelJIT.cpp b/examples/ParallelJIT/ParallelJIT.cpp index 858cd52de6..eadd0f58e5 100644 --- a/examples/ParallelJIT/ParallelJIT.cpp +++ b/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