diff options
author | John McCall <rjmccall@apple.com> | 2011-03-31 09:19:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-03-31 09:19:20 +0000 |
commit | 361701965ed119099d180d419ac25a0503fcc0fe (patch) | |
tree | e68f139edce4180ddeb745fb97a6d2cd051f2f73 /lib/CodeGen/CGBlocks.cpp | |
parent | f0c11f7e6848f023ced6a5b51399ba787c7d4d0b (diff) |
Whoops.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGBlocks.cpp')
-rw-r--r-- | lib/CodeGen/CGBlocks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGBlocks.cpp b/lib/CodeGen/CGBlocks.cpp index 7e70e14119..8d9c032f5f 100644 --- a/lib/CodeGen/CGBlocks.cpp +++ b/lib/CodeGen/CGBlocks.cpp @@ -1231,8 +1231,8 @@ public: ObjectByrefHelpers(CharUnits alignment, BlockFieldFlags flags) : ByrefHelpers(alignment), Flags(flags) {} - void emitCopy(CodeGenFunction &CGF, llvm::Value *srcField, - llvm::Value *destField) { + void emitCopy(CodeGenFunction &CGF, llvm::Value *destField, + llvm::Value *srcField) { destField = CGF.Builder.CreateBitCast(destField, CGF.VoidPtrTy); srcField = CGF.Builder.CreateBitCast(srcField, CGF.VoidPtrPtrTy); |