diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:48:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:48:56 +0000 |
| commit | f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807 (patch) | |
| tree | dbab6d67b71391e041af6e3aa7df5631a3d370cd /llvm/lib/Transforms/Instrumentation/PathProfiling.cpp | |
| parent | b97d926bce0fcdbafccd02abbdfac0f21ef788cf (diff) | |
| download | llvm-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.cpp | 2 |
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)); |
