From: Mike Pall Date: Sun, 16 Nov 2025 18:34:11 +0000 (+0100) Subject: x86/x64: Backport fix for math.min()/math.max() argument check. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b59f8aa93ac55d3d3492e51d455e8a0ba0308f;p=thirdparty%2FLuaJIT.git x86/x64: Backport fix for math.min()/math.max() argument check. Reported by puffy. --- 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