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(
7979 addRule (rule.first , rule.second );
8080}
8181
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-
9482// / Adds a rewrite rule, returning true if the new rule was non-trivial.
9583// /
9684// / 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 {
366366 std::vector<std::pair<MutableTerm, MutableTerm>> &&requirementRules,
367367 ProtocolGraph &&protos);
368368
369- Symbol simplifySubstitutionsInSuperclassOrConcreteSymbol (Symbol symbol) const ;
370-
371369 unsigned getRuleID (const Rule &rule) const {
372370 assert ((unsigned )(&rule - &*Rules.begin ()) < Rules.size ());
373371 return (unsigned )(&rule - &*Rules.begin ());
You can’t perform that action at this time.
0 commit comments