mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user