File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -484,9 +484,6 @@ ConstraintSystem::SolverScope::SolverScope(ConstraintSystem &cs)
484
484
numDefaultedConstraints = cs.DefaultedConstraints .size ();
485
485
numCheckedConformances = cs.CheckedConformances .size ();
486
486
PreviousScore = cs.CurrentScore ;
487
- if (cs.Timer ) {
488
- startTime = cs.Timer ->getElapsedProcessTimeInFractionalSeconds ();
489
- }
490
487
491
488
cs.solverState ->registerScope (this );
492
489
assert (!cs.failedConstraint && " Unexpected failed constraint!" );
Original file line number Diff line number Diff line change @@ -1453,9 +1453,6 @@ class ConstraintSystem {
1453
1453
// / The scope number of this scope. Set when the scope is registered.
1454
1454
unsigned scopeNumber = 0 ;
1455
1455
1456
- // / Time in fractional seconds at which we entered this scope.
1457
- double startTime;
1458
-
1459
1456
// / Constraint graph scope associated with this solver scope.
1460
1457
ConstraintGraphScope CGScope;
1461
1458
@@ -1467,13 +1464,6 @@ class ConstraintSystem {
1467
1464
public:
1468
1465
explicit SolverScope (ConstraintSystem &cs);
1469
1466
~SolverScope ();
1470
-
1471
- Optional<double > getElapsedTimeInFractionalSeconds () {
1472
- if (!cs.Timer )
1473
- return None;
1474
-
1475
- return cs.Timer ->getElapsedProcessTimeInFractionalSeconds () - startTime;
1476
- }
1477
1467
};
1478
1468
1479
1469
ConstraintSystem (TypeChecker &tc, DeclContext *dc,
You can’t perform that action at this time.
0 commit comments