process cases of ALT as special rules
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using Nitload.Graphics;
|
||||
using Nitload.Common.HighPerformance.Memory;
|
||||
using Nitload.Common.Internal;
|
||||
using Nitload.Common.Timing;
|
||||
using Nitload.Common.Timing;
|
||||
using Nitload.Graphics;
|
||||
using Nitload.Mathematics;
|
||||
using Nitload.Mathematics.Numeric;
|
||||
using Nitload.Common.Timing;
|
||||
using Nitload.Common.Timing;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -28,6 +28,13 @@ namespace Nitload
|
||||
string[] args
|
||||
)
|
||||
{
|
||||
// Select the managed-only emitter preview before initializing the normal runtime.
|
||||
if (args.Length > 0 && args[0] == "--regex-preview")
|
||||
{
|
||||
Environment.ExitCode = TestRegexGenerate.Run(args[1..]);
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
World.Initialize(new()
|
||||
@@ -39,13 +46,8 @@ namespace Nitload
|
||||
// .UseModule<GraphicModule>()
|
||||
.InitializeModule();
|
||||
|
||||
_ = SlabAllocator.FromBuffer<int>(
|
||||
(nuint)NativeMemory.AlignedAlloc(65536 * 4, 4),
|
||||
65536,
|
||||
buffer => NativeMemory.AlignedFree((void*)buffer)
|
||||
);
|
||||
|
||||
TestRegexAnalyse.Run();
|
||||
// TestRegexAnalyse.Run();
|
||||
_ = TestRegexGenerate.Run("abc|123");
|
||||
|
||||
// TestHlsf();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user