diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-05-03 21:36:51 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-05-03 21:36:51 +0000 |
commit | a75586f37e2409aebce8e330832eec05487aa783 (patch) | |
tree | 31bada50bc5811943092f460561f85bfb0c0737f /lib/VMCore | |
parent | 9d0838fba8bb79bd4f43244e91f199dd8f4ea1b6 (diff) | |
download | external_llvm-a75586f37e2409aebce8e330832eec05487aa783.zip external_llvm-a75586f37e2409aebce8e330832eec05487aa783.tar.gz external_llvm-a75586f37e2409aebce8e330832eec05487aa783.tar.bz2 |
Fix function prototype mismatch in LLVMUnionType(). Fixes PR7019.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Core.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 8c88f5d..bbf1375 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -327,8 +327,7 @@ LLVMTypeRef LLVMUnionTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes, return wrap(UnionType::get(&Tys[0], Tys.size())); } -LLVMTypeRef LLVMUnionType(LLVMTypeRef *ElementTypes, - unsigned ElementCount, int Packed) { +LLVMTypeRef LLVMUnionType(LLVMTypeRef *ElementTypes, unsigned ElementCount) { return LLVMUnionTypeInContext(LLVMGetGlobalContext(), ElementTypes, ElementCount); } |