Skip to content

Commit 93e2dd0

Browse files
committed
rerun tests with default nullability handler
1 parent 5ad6dc0 commit 93e2dd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/Symbolic/SymbolicRegexMatcher.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ private bool FindEndPositionDeltasDFANoSkip(ReadOnlySpan<char> input, int length
676676
int endStateId = endStateIdRef;
677677
int currStateId = startStateId;
678678
// ldfld only once
679-
int deadStateId = _deadStateId;
679+
// int deadStateId = _deadStateId;
680680
try
681681
{
682682
// Loop through each character in the input, transitioning from state to state for each.
@@ -687,7 +687,7 @@ private bool FindEndPositionDeltasDFANoSkip(ReadOnlySpan<char> input, int length
687687
// no memory writes unless necessary
688688
while (true)
689689
{
690-
if (currStateId == deadStateId)
690+
if (currStateId == _deadStateId)
691691
{
692692
return true;
693693
}
@@ -795,7 +795,7 @@ private bool FindEndPositionDeltasDFA<TStateHandler, TInputReader, TFindOptimiza
795795

796796
// If the state is nullable for the next character, meaning it accepts the empty string,
797797
// we found a potential end state.
798-
if (_nullabilityArray[state.DfaStateId] > 0 && TNullabilityHandler.IsNullableAt<TStateHandler>(this, in state, positionId, TStateHandler.GetStateFlags(this, in state)))
798+
if (TNullabilityHandler.IsNullableAt<TStateHandler>(this, in state, positionId, TStateHandler.GetStateFlags(this, in state)))
799799
{
800800
endPos = pos;
801801
endStateId = TStateHandler.ExtractNullableCoreStateId(this, in state, input, pos);

0 commit comments

Comments
 (0)