Skip to content

Commit d84fc00

Browse files
committed
Try tracking more assertions
1 parent 4298c14 commit d84fc00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/jit/assertionprop.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,11 +668,11 @@ void Compiler::optAssertionInit(bool isLocalProp)
668668
}
669669
else if (lvaTrackedCount < 64)
670670
{
671-
optMaxAssertionCount = 128;
671+
optMaxAssertionCount = 192;
672672
}
673673
else
674674
{
675-
optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, ((3 * lvaTrackedCount / 128) + 1) * 64);
675+
optMaxAssertionCount = (AssertionIndex)min(maxTrackedLocals, lvaTrackedCount) * 3;
676676
}
677677
}
678678
else

0 commit comments

Comments
 (0)