mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #21584 from dcci/setdebug2
[SILInstruction] Remove unused arg in setDebugScope()
This commit is contained in:
@@ -41,7 +41,7 @@ const SILDebugScope *SILInstruction::getDebugScope() const {
|
||||
return Location.getScope();
|
||||
}
|
||||
|
||||
void SILInstruction::setDebugScope(SILBuilder &B, const SILDebugScope *DS) {
|
||||
void SILInstruction::setDebugScope(const SILDebugScope *DS) {
|
||||
if (getDebugScope() && getDebugScope()->InlinedCallSite)
|
||||
assert(DS->InlinedCallSite && "throwing away inlined scope info");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user