[cfe-commits] r132077 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
David Chisnall
csdavec at swan.ac.uk
Wed May 25 13:33:17 PDT 2011
Author: theraven
Date: Wed May 25 15:33:17 2011
New Revision: 132077
URL: http://llvm.org/viewvc/llvm-project?rev=132077&view=rev
Log:
Remove bitcast to incorrect type.
Modified:
cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=132077&r1=132076&r2=132077&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Wed May 25 15:33:17 2011
@@ -2325,7 +2325,7 @@
llvm::Value *ivarOffset) {
CGBuilderTy B = CGF.Builder;
src = EnforceType(B, src, IdTy);
- dst = EnforceType(B, dst, PtrToIdTy);
+ dst = EnforceType(B, dst, IdTy);
B.CreateCall3(IvarAssignFn, src, dst, ivarOffset);
}
More information about the cfe-commits
mailing list