update for api change.

llvm-svn: 133365
This commit is contained in:
Chris Lattner
2011-06-18 22:49:11 +00:00
parent f3f545ea8a
commit 845511fe1c
9 changed files with 66 additions and 116 deletions

View File

@@ -354,7 +354,7 @@ void CodeGenModule::EmitCtorList(const CtorList &Fns, const char *GlobalName) {
// Get the type of a ctor entry, { i32, void ()* }.
llvm::StructType* CtorStructTy =
llvm::StructType::get(VMContext, llvm::Type::getInt32Ty(VMContext),
llvm::StructType::get(llvm::Type::getInt32Ty(VMContext),
llvm::PointerType::getUnqual(CtorFTy), NULL);
// Construct the constructor and destructor arrays.