x86/x64: Backport fix for math.min()/math.max() argument check.
Reported by puffy.
This commit is contained in:
@@ -2232,7 +2232,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|.endif
|
|.endif
|
||||||
|
|
|
|
||||||
|.macro math_minmax, name, cmovop, fcmovop, sseop
|
|.macro math_minmax, name, cmovop, fcmovop, sseop
|
||||||
| .ffunc name
|
| .ffunc_1 name
|
||||||
| mov RA, 2
|
| mov RA, 2
|
||||||
| cmp dword [BASE+4], LJ_TISNUM
|
| cmp dword [BASE+4], LJ_TISNUM
|
||||||
|.if DUALNUM
|
|.if DUALNUM
|
||||||
|
|||||||
Reference in New Issue
Block a user