[llvm-commits] [llvm] r102959 - /llvm/trunk/lib/VMCore/Core.cpp
Nick Lewycky
nicholas at mxc.ca
Mon May 3 14:36:51 PDT 2010
Author: nicholas
Date: Mon May 3 16:36:51 2010
New Revision: 102959
URL: http://llvm.org/viewvc/llvm-project?rev=102959&view=rev
Log:
Fix function prototype mismatch in LLVMUnionType(). Fixes PR7019.
Modified:
llvm/trunk/lib/VMCore/Core.cpp
Modified: llvm/trunk/lib/VMCore/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Core.cpp?rev=102959&r1=102958&r2=102959&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Core.cpp (original)
+++ llvm/trunk/lib/VMCore/Core.cpp Mon May 3 16:36:51 2010
@@ -327,8 +327,7 @@
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);
}
More information about the llvm-commits
mailing list