mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
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
This commit is contained in:
parent
9d0838fba8
commit
a75586f37e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user