From f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 18 Jun 2011 22:48:56 +0000 Subject: fix the varargs version of StructType::get to not require an LLVMContext, making usage much cleaner. llvm-svn: 133364 --- llvm/lib/Transforms/Instrumentation/PathProfiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Instrumentation/PathProfiling.cpp') diff --git a/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp b/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp index 182a43d396c..1e5e3f65295 100644 --- a/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp @@ -376,7 +376,7 @@ namespace llvm { public: static const StructType *get(LLVMContext& C) { return( StructType::get( - C, TypeBuilder, xcompile>::get(C), // type + TypeBuilder, xcompile>::get(C), // type TypeBuilder, xcompile>::get(C), // array size TypeBuilder*, xcompile>::get(C), // array/hash ptr NULL)); -- cgit v1.2.3