aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-18 22:48:56 +0000
committerChris Lattner <sabre@nondot.org>2011-06-18 22:48:56 +0000
commitf3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807 (patch)
treedbab6d67b71391e041af6e3aa7df5631a3d370cd /llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
parentb97d926bce0fcdbafccd02abbdfac0f21ef788cf (diff)
downloadllvm-f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807.zip
llvm-f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807.tar.gz
llvm-f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807.tar.bz2
fix the varargs version of StructType::get to not require an LLVMContext, making usage
much cleaner. llvm-svn: 133364
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/PathProfiling.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/PathProfiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp b/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
index 182a43d..1e5e3f6 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<types::i<32>, xcompile>::get(C), // type
+ TypeBuilder<types::i<32>, xcompile>::get(C), // type
TypeBuilder<types::i<32>, xcompile>::get(C), // array size
TypeBuilder<types::i<8>*, xcompile>::get(C), // array/hash ptr
NULL));