mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SILInstruction] Introduce isDebugInstruction().
This is a property of an instruction and should be a member function of `SILInstruction` and not a free function in `DebugUtils`. Discussed with Adrian.
This commit is contained in:
@@ -2340,7 +2340,7 @@ void swift::trySpecializeApplyOfGeneric(
|
||||
SILInstruction *User = Use->getUser();
|
||||
if (isa<RefCountingInst>(User))
|
||||
continue;
|
||||
if (isDebugInst(User))
|
||||
if (User->isDebugInstruction())
|
||||
continue;
|
||||
|
||||
auto FAS = FullApplySite::isa(User);
|
||||
|
||||
Reference in New Issue
Block a user