mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #25490 from dcci/rdar48887384
[CastOptimizer] Set the correct debug scope for the SILBuilder.
This commit is contained in:
@@ -1572,7 +1572,7 @@ static bool optimizeStaticallyKnownProtocolConformance(
|
||||
if (!Conformance)
|
||||
return false;
|
||||
|
||||
SILBuilder B(Inst);
|
||||
SILBuilderWithScope B(Inst);
|
||||
SmallVector<ProtocolConformanceRef, 1> NewConformances;
|
||||
NewConformances.push_back(Conformance.getValue());
|
||||
ArrayRef<ProtocolConformanceRef> Conformances =
|
||||
|
||||
Reference in New Issue
Block a user