mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Fix linking bug in xboard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72af6b8e5d
commit
8164d6535a
@ -213,7 +213,10 @@ ConstantArray::ConstantArray(const ArrayType *T,
|
||||
const std::vector<Constant*> &V) : Constant(T) {
|
||||
Operands.reserve(V.size());
|
||||
for (unsigned i = 0, e = V.size(); i != e; ++i) {
|
||||
assert(V[i]->getType() == T->getElementType());
|
||||
assert(V[i]->getType() == T->getElementType() ||
|
||||
(T->isAbstract() &&
|
||||
V[i]->getType()->getPrimitiveID() ==
|
||||
T->getElementType()->getPrimitiveID()));
|
||||
Operands.push_back(Use(V[i], this));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user