r191809 - Fix build breakage, missed committing a chunk of a patch.

Nick Lewycky nicholas at mxc.ca
Tue Oct 1 19:33:11 PDT 2013


Author: nicholas
Date: Tue Oct  1 21:33:11 2013
New Revision: 191809

URL: http://llvm.org/viewvc/llvm-project?rev=191809&view=rev
Log:
Fix build breakage, missed committing a chunk of a patch.

Modified:
    cfe/trunk/lib/CodeGen/CGObjC.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=191809&r1=191808&r2=191809&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Tue Oct  1 21:33:11 2013
@@ -2784,7 +2784,7 @@ CodeGenFunction::EmitARCStoreStrong(cons
 
   // If the RHS was emitted retained, expand this.
   if (hasImmediateRetain) {
-    llvm::Value *oldValue = EmitLoadOfScalar(lvalue);
+    llvm::Value *oldValue = EmitLoadOfScalar(lvalue, SourceLocation());
     EmitStoreOfScalar(value, lvalue);
     EmitARCRelease(oldValue, lvalue.isARCPreciseLifetime());
   } else {





More information about the cfe-commits mailing list