From 34b59f8aa93ac55d3d3492e51d455e8a0ba0308f Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 16 Nov 2025 19:34:11 +0100 Subject: [PATCH] x86/x64: Backport fix for math.min()/math.max() argument check. Reported by puffy. --- src/vm_x86.dasc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index 85378a3b..abc8ab21 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc @@ -2232,7 +2232,7 @@ static void build_subroutines(BuildCtx *ctx) |.endif | |.macro math_minmax, name, cmovop, fcmovop, sseop - | .ffunc name + | .ffunc_1 name | mov RA, 2 | cmp dword [BASE+4], LJ_TISNUM |.if DUALNUM -- 2.47.3