mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: Use objc_method instruction for Objective-C protocol method calls
Fixes <rdar://problem/15933365>.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user