diff options
| author | Mon P Wang <wangmp@apple.com> | 2010-04-02 18:43:42 +0000 | 
|---|---|---|
| committer | Mon P Wang <wangmp@apple.com> | 2010-04-02 18:43:42 +0000 | 
| commit | f7f3bff6467d643ec85a7643a24a04d5996f6d24 (patch) | |
| tree | d6ac8a9861a90cbea3d2e6cfe907fa0aa8bb3fbc /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | 999c1b927b2f763c274058bce4cbfb5d4868a072 (diff) | |
| download | llvm-f7f3bff6467d643ec85a7643a24a04d5996f6d24.zip llvm-f7f3bff6467d643ec85a7643a24a04d5996f6d24.tar.gz llvm-f7f3bff6467d643ec85a7643a24a04d5996f6d24.tar.bz2  | |
Revert r100193 since it causes failures in objc in clang
llvm-svn: 100200
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index f38d8a1..b863aff 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -495,14 +495,12 @@ void CodeGenFunction::EmitMemSetToZero(llvm::Value *DestPtr, QualType Ty) {    const llvm::Type *IntPtr = llvm::IntegerType::get(VMContext,                                                      LLVMPointerWidth); -  Builder.CreateCall5(CGM.getMemSetFn(BP, IntPtr), DestPtr, +  Builder.CreateCall4(CGM.getMemSetFn(), DestPtr,                   llvm::Constant::getNullValue(llvm::Type::getInt8Ty(VMContext)),                        // TypeInfo.first describes size in bits.                        llvm::ConstantInt::get(IntPtr, TypeInfo.first/8),                        llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), -                                             TypeInfo.second/8), -                      llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), -                                             0)); +                                             TypeInfo.second/8));  }  llvm::BlockAddress *CodeGenFunction::GetAddrOfLabel(const LabelStmt *L) {  | 
