diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:41:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:41:47 +0000 |
| commit | 9cbe4f0ba01ec304e1e3d071c071f7bca33631c0 (patch) | |
| tree | f89ae9b252a8af0e0a2cbdfbddc230e3183ee8ee /lib/CodeGen/CGExpr.cpp | |
| parent | 0850e8d1b093cfe1fc2fdf533a0e264ef9d5412e (diff) | |
| download | clang-9cbe4f0ba01ec304e1e3d071c071f7bca33631c0.tar.gz clang-9cbe4f0ba01ec304e1e3d071c071f7bca33631c0.tar.bz2 clang-9cbe4f0ba01ec304e1e3d071c071f7bca33631c0.tar.xz | |
clang side to match the LLVM IR type system rewrite patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
| -rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 289eaa08fb..5d72162938 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -505,7 +505,7 @@ void CodeGenFunction::EmitCheck(llvm::Value *Address, unsigned Size) { // This needs to be to the standard address space. Address = Builder.CreateBitCast(Address, Int8PtrTy); - const llvm::Type *IntPtrT = IntPtrTy; + llvm::Type *IntPtrT = IntPtrTy; llvm::Value *F = CGM.getIntrinsic(llvm::Intrinsic::objectsize, &IntPtrT, 1); // In time, people may want to control this and use a 1 here. |
