Make witness/vtable look-up helper naming more consistent.

Swift SVN r25713
This commit is contained in:
Mark Lacey
2015-03-03 09:14:18 +00:00
parent 10647fc13e
commit a9181b08ce
4 changed files with 13 additions and 13 deletions

View File

@@ -790,8 +790,8 @@ SerializedSILLoader *SILModule::getSILLoader() {
/// required. Notice that we do not scan the class hierarchy, just the concrete
/// class type.
std::tuple<SILFunction *, SILWitnessTable *, ArrayRef<Substitution>>
SILModule::findFuncInWitnessTable(const ProtocolConformance *C,
SILDeclRef Member) {
SILModule::lookUpFunctionInWitnessTable(const ProtocolConformance *C,
SILDeclRef Member) {
// Look up the witness table associated with our protocol conformance from the
// SILModule.
auto Ret = lookUpWitnessTable(C);
@@ -829,7 +829,7 @@ static ClassDecl *getClassDeclSuperClass(ClassDecl *Class) {
SILFunction *
SILModule::
lookUpFunctionFromVTable(ClassDecl *Class, SILDeclRef Member) {
lookUpFunctionInVTable(ClassDecl *Class, SILDeclRef Member) {
// Until we reach the top of the class hierarchy...
while (Class) {
// Try to lookup a VTable for Class from the module...