SIL: Remove linkage parameter from SILModule::createWitnessTableDeclaration()

All callers were doing the same thing here, so move it inside the
function. Also, change getRootNormalConformance(), which is deprecated,
to getRootConformance().
This commit is contained in:
Slava Pestov
2018-12-20 15:17:34 -05:00
parent ff47c303ad
commit 39c93b9f85
4 changed files with 7 additions and 11 deletions

View File

@@ -572,8 +572,7 @@ public:
// Given a protocol conformance, attempt to create a witness table declaration
// for it.
SILWitnessTable *
createWitnessTableDeclaration(ProtocolConformance *C, SILLinkage linkage);
SILWitnessTable *createWitnessTableDeclaration(const ProtocolConformance *C);
// Given a protocol, attempt to create a default witness table declaration
// for it.