forked from OSchip/llvm-project
Fix build breakage, missed committing a chunk of a patch.
llvm-svn: 191809
This commit is contained in:
parent
2d84e84236
commit
ce550076d0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue