mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 23:33:13 +01:00
LLVMContext changes up to r77366
This commit is contained in:
@@ -606,7 +606,7 @@ static LLConstant* build_offti_array(ClassDeclaration* cd, const LLType* arrayT)
|
||||
|
||||
// array type
|
||||
const llvm::ArrayType* arrTy = llvm::ArrayType::get(arrayInits[0]->getType(), nvars);
|
||||
LLConstant* arrInit = llvm::ConstantArray::get(arrTy, arrayInits);
|
||||
LLConstant* arrInit = LLConstantArray::get(arrTy, arrayInits);
|
||||
|
||||
// mangle
|
||||
std::string name(cd->type->vtinfo->toChars());
|
||||
|
||||
Reference in New Issue
Block a user