mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Move types back to the 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1148,7 +1148,7 @@ static bool LinkAppendingVars(Module *M,
|
||||
"Appending variables with different section name need to be linked!");
|
||||
|
||||
unsigned NewSize = T1->getNumElements() + T2->getNumElements();
|
||||
ArrayType *NewType = Context.getArrayType(T1->getElementType(),
|
||||
ArrayType *NewType = ArrayType::get(T1->getElementType(),
|
||||
NewSize);
|
||||
|
||||
G1->setName(""); // Clear G1's name in case of a conflict!
|
||||
|
||||
Reference in New Issue
Block a user