SIL: Use objc_method instruction for Objective-C protocol method calls

Fixes <rdar://problem/15933365>.
This commit is contained in:
Slava Pestov
2017-11-29 00:27:21 -08:00
parent a23d1fa0d7
commit 1ee0970934
31 changed files with 75 additions and 110 deletions

View File

@@ -807,8 +807,6 @@ namespace {
bool visitWitnessMethodInst(const WitnessMethodInst *RHS) {
auto *X = cast<WitnessMethodInst>(LHS);
if (X->isVolatile() != RHS->isVolatile())
return false;
if (X->getMember() != RHS->getMember())
return false;
if (X->getLookupType() != RHS->getLookupType())