File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
lib/AST/RequirementMachine Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -79,18 +79,6 @@ void RewriteSystem::initialize(
79
79
addRule (rule.first , rule.second );
80
80
}
81
81
82
- Symbol RewriteSystem::simplifySubstitutionsInSuperclassOrConcreteSymbol (
83
- Symbol symbol) const {
84
- return symbol.transformConcreteSubstitutions (
85
- [&](Term term) -> Term {
86
- MutableTerm mutTerm (term);
87
- if (!simplify (mutTerm))
88
- return term;
89
-
90
- return Term::get (mutTerm, Context);
91
- }, Context);
92
- }
93
-
94
82
// / Adds a rewrite rule, returning true if the new rule was non-trivial.
95
83
// /
96
84
// / If both sides simplify to the same term, the rule is trivial and discarded,
Original file line number Diff line number Diff line change @@ -366,8 +366,6 @@ class RewriteSystem final {
366
366
std::vector<std::pair<MutableTerm, MutableTerm>> &&requirementRules,
367
367
ProtocolGraph &&protos);
368
368
369
- Symbol simplifySubstitutionsInSuperclassOrConcreteSymbol (Symbol symbol) const ;
370
-
371
369
unsigned getRuleID (const Rule &rule) const {
372
370
assert ((unsigned )(&rule - &*Rules.begin ()) < Rules.size ());
373
371
return (unsigned )(&rule - &*Rules.begin ());
You can’t perform that action at this time.
0 commit comments