mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SR-7043] Remove duplicate if statement
This commit is contained in:
@@ -2367,9 +2367,7 @@ class SwiftArrayOptPass : public SILFunctionTransform {
|
||||
DT, nullptr);
|
||||
|
||||
DEBUG(getFunction()->viewCFG());
|
||||
}
|
||||
|
||||
if (HasChanged) {
|
||||
// We preserve the dominator tree. Let's invalidate everything
|
||||
// else.
|
||||
DA->lockInvalidation();
|
||||
|
||||
Reference in New Issue
Block a user