diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:49:11 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-06-18 22:49:11 +0000 |
| commit | 845511fe1c7417b875752560319a406f2aa3fb4e (patch) | |
| tree | 6d6f808c4483a444242eaab6622bb887b4ad47f2 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | f3f545ea8a6e444b23bbf7d70de0c7f8ef1a1807 (diff) | |
update for api change.
llvm-svn: 133365
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 78c57b4e3f2a..b9c829364f15 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -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. |
