summaryrefslogtreecommitdiff
path: root/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
commitb2318662b6d2e6d9ea9917fd280dde0ba9a938ad (patch)
tree68fa7b164e186267795a98ba805b9ee2c7adcf40 /lib/Transforms/Instrumentation/PathProfiling.cpp
parentea049181a020b233cfd8a33583e2784d590e1dcb (diff)
downloadllvm-b2318662b6d2e6d9ea9917fd280dde0ba9a938ad.tar.gz
llvm-b2318662b6d2e6d9ea9917fd280dde0ba9a938ad.tar.bz2
llvm-b2318662b6d2e6d9ea9917fd280dde0ba9a938ad.tar.xz
fix the varargs version of StructType::get to not require an LLVMContext, making usage
much cleaner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/PathProfiling.cpp')
-rw-r--r--lib/Transforms/Instrumentation/PathProfiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/PathProfiling.cpp b/lib/Transforms/Instrumentation/PathProfiling.cpp
index 182a43d396..1e5e3f6529 100644
--- a/lib/Transforms/Instrumentation/PathProfiling.cpp
+++ b/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));