diff options
Diffstat (limited to 'contrib/llvm/lib/Target/Target.cpp')
-rw-r--r-- | contrib/llvm/lib/Target/Target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Target/Target.cpp b/contrib/llvm/lib/Target/Target.cpp index d277f82..4b51b3f 100644 --- a/contrib/llvm/lib/Target/Target.cpp +++ b/contrib/llvm/lib/Target/Target.cpp @@ -49,7 +49,7 @@ LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep) { void LLVMAddTargetData(LLVMTargetDataRef TD, LLVMPassManagerRef PM) { // The DataLayoutPass must now be in sync with the module. Unfortunatelly we // cannot enforce that from the C api. - unwrap(PM)->add(new DataLayoutPass(*unwrap(TD))); + unwrap(PM)->add(new DataLayoutPass()); } void LLVMAddTargetLibraryInfo(LLVMTargetLibraryInfoRef TLI, |