diff options
author | Owen Anderson <resistor@mac.com> | 2009-08-05 23:18:46 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-08-05 23:18:46 +0000 |
commit | 47a434ff3d49e7906eda88e8e8242e4297725b32 (patch) | |
tree | a0674748f127253634eed27d738aefb0b1972664 /lib/CodeGen/CGDecl.cpp | |
parent | b502d839994cc3828573bd9ea472418e3536f415 (diff) |
Update for LLVM API change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index bda3cf7e6f..477cf52aad 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -237,7 +237,7 @@ const llvm::Type *CodeGenFunction::BuildByRefType(QualType Ty, assert((Align <= unsigned(Target.getPointerAlign(0))/8) && "Can't align more than pointer yet"); Types[needsCopyDispose*2 + 4] = LTy; - return llvm::StructType::get(Types, false); + return llvm::StructType::get(VMContext, Types, false); } /// EmitLocalBlockVarDecl - Emit code and set up an entry in LocalDeclMap for a |