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 | 7650d95a1a616ea300f37126a8dfc93dc19a662a (patch) | |
tree | 76a7ab3f1101cb49c37458f1e32344916fb4d56c /lib/CodeGen/CGBuiltin.cpp | |
parent | 19bd77c64937d6818c61f2aa9e6a9d51c65d0356 (diff) |
update for api change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBuiltin.cpp')
-rw-r--r-- | lib/CodeGen/CGBuiltin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index 6f1c1f24f7..0ad05a75cc 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -1204,8 +1204,7 @@ Value *CodeGenFunction::EmitARMBuiltinExpr(unsigned BuiltinID, if (BuiltinID == ARM::BI__builtin_arm_strexd) { Function *F = CGM.getIntrinsic(Intrinsic::arm_strexd); - llvm::Type *STy = llvm::StructType::get(getLLVMContext(), Int32Ty, Int32Ty, - NULL); + llvm::Type *STy = llvm::StructType::get(Int32Ty, Int32Ty, NULL); Value *One = llvm::ConstantInt::get(Int32Ty, 1); Value *Tmp = Builder.CreateAlloca(Int64Ty, One, "tmp"); |