Merge pull request #21584 from dcci/setdebug2

[SILInstruction] Remove unused arg in setDebugScope()
This commit is contained in:
Davide Italiano
2019-01-02 09:01:01 +01:00
committed by GitHub
3 changed files with 4 additions and 7 deletions

View File

@@ -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");