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

@@ -326,7 +326,7 @@ class SILInstruction
/// Update this instruction's SILDebugScope. This function should
/// never be called directly. Use SILBuilder, SILBuilderWithScope or
/// SILClonerWithScope instead.
void setDebugScope(SILBuilder &B, const SILDebugScope *DS);
void setDebugScope(const SILDebugScope *DS);
/// Total number of created and deleted SILInstructions.
/// It is used only for collecting the compiler statistics.