]> granicus.if.org Git - clang/commitdiff
Fix build breakage, missed committing a chunk of a patch.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 2 Oct 2013 02:33:11 +0000 (02:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 2 Oct 2013 02:33:11 +0000 (02:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191809 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjC.cpp

index 70ac603a87cf02839a0f6721c9956791360cadae..a0c67cdaf8db1e029efeb0bd6ca8c7486b497a06 100644 (file)
@@ -2784,7 +2784,7 @@ CodeGenFunction::EmitARCStoreStrong(const BinaryOperator *e,
 
   // 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 {