`jit_reg_is_const_val` only checks whether the register is a const register and the const value is stored in the register. Should use `jit_reg_is_const` instead in the front end. Reported in #2710.
`jit_reg_is_const_val` only checks whether the register is a const register and the const value is stored in the register. Should use `jit_reg_is_const` instead in the front end. Reported in #2710.