-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Open
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
static bool ParseIP(string s)
{
if (s.Length > 15)
{
return false;
}
Span<ushort> value = stackalloc ushort[16];
value[s.Length] = '.';
Consume(value);
return true;
}
[MethodImpl(MethodImplOptions.NoInlining)]
static void Consume<T>(Span<T> _)
{
}
Currently, value[s.Length] = '.';
line produces a bound check while it shouldn't.
neon-sunset, MineCake147E and colejohnson66samsosa and ArminShoeibi
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI