[ConstraintSystem] Rename solveIteratively to solve and start using it

Remove solution filtering from new iterative `solve` method, and
replace all usages of `solveRec` with it.
This commit is contained in:
Pavel Yaskevich
2018-09-13 01:02:40 -07:00
parent 4f50710457
commit baceb68f85
4 changed files with 17 additions and 24 deletions

View File

@@ -2072,7 +2072,7 @@ bool ConstraintSystem::salvage(SmallVectorImpl<Solution> &viable, Expr *expr) {
state.recordFixes = true;
// Solve the system.
solveRec(viable);
solve(viable);
// Check whether we have a best solution; this can happen if we found
// a series of fixes that worked.