[IRGen/SIL] More widespread use of SubstitutionMap.

This commit is contained in:
Doug Gregor
2018-05-07 20:47:07 -07:00
parent 09446defef
commit d457f1c752
12 changed files with 33 additions and 54 deletions

View File

@@ -609,7 +609,7 @@ namespace {
bool visitApplyInst(ApplyInst *RHS) {
auto *X = cast<ApplyInst>(LHS);
return X->getSubstitutions() == RHS->getSubstitutions();
return X->getSubstitutionMap() == RHS->getSubstitutionMap();
}
bool visitBuiltinInst(BuiltinInst *RHS) {