From 6a986d259a191b9f8a5da7e0f47c5ff3f934eed4 Mon Sep 17 00:00:00 2001 From: ike709 Date: Sun, 20 Oct 2024 21:58:27 -0500 Subject: [PATCH] Update DMCompiler/Optimizer/PeepholeOptimizations.cs --- DMCompiler/Optimizer/PeepholeOptimizations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMCompiler/Optimizer/PeepholeOptimizations.cs b/DMCompiler/Optimizer/PeepholeOptimizations.cs index cb9e957ddf..291e152e5c 100644 --- a/DMCompiler/Optimizer/PeepholeOptimizations.cs +++ b/DMCompiler/Optimizer/PeepholeOptimizations.cs @@ -272,7 +272,7 @@ public void Apply(List input, int index) { // Otherwise, replace with PushNOfStringFloat int stackDelta = 0; - List args = new List(2 * count + 1); + List args = new List(2 * count + 1) { new AnnotatedBytecodeInteger(count, input[index].GetLocation()) }; args.Add(new AnnotatedBytecodeInteger(count, input[index].GetLocation())); for (int i = 0; i < count; i++) {