From 881d02d3117838acaf4fb844332c8e33cc95c8c5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 22 Sep 2020 11:56:06 +0200 Subject: Mark CONV as non-weak, to prevent elimination of its side-effect. An unused guarded CONV int.num cannot be omitted in general. --- src/lj_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_ir.h b/src/lj_ir.h index f91d6d0e..3a154a05 100644 --- a/src/lj_ir.h +++ b/src/lj_ir.h @@ -126,7 +126,7 @@ _(XBAR, S , ___, ___) \ \ /* Type conversions. */ \ - _(CONV, NW, ref, lit) \ + _(CONV, N , ref, lit) \ _(TOBIT, N , ref, ref) \ _(TOSTR, N , ref, ___) \ _(STRTO, N , ref, ___) \ -- cgit v1.2.1