Files
JCIL/JCIL.Core/ILHelpers.cs
T
2026-05-05 22:41:02 +02:00

14 lines
328 B
C#
Executable File

using System.Runtime.CompilerServices;
namespace JCIL.Core;
public static class ILHelpers
{
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
public static int LCmp(long a, long b)
{
if (a > b) return 1;
if (a < b) return -1;
return 0;
}
}