Skip to content

Commit d1f1731

Browse files
committed
---
yaml --- r: 349477 b: refs/heads/master-next c: 73ffbdf h: refs/heads/master i: 349475: f2614f8
1 parent e0cd065 commit d1f1731

File tree

4 files changed

+439
-3
lines changed

4 files changed

+439
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: b0f74139d598a8c16dacfa5138466b3e19c92a9f
3+
refs/heads/master-next: 73ffbdf0813a6e99e803bd953459fa16a63e5564
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/lib/SILOptimizer/Mandatory/SemanticARCOpts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static bool isWrittenTo(SILFunction &f, SILValue value) {
369369
// conservative and assume that the value is written to.
370370
const auto &storage = findAccessedStorageNonNested(value);
371371
if (!storage)
372-
return false;
372+
return true;
373373

374374
// Then see if we ever write to this address in a flow insensitive
375375
// way (ignoring stores that are obviously the only initializer to

0 commit comments

Comments
 (0)