summaryrefslogtreecommitdiff
path: root/src/lj_iropt.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-03-11 23:28:46 +0100
committerMike Pall <mike>2011-03-11 23:28:46 +0100
commit7fb1075903587084b785260fc14cc35976bbe5fd (patch)
tree0075489c1d73cfd2c42fde7520c8ce5e1f5f2d5c /src/lj_iropt.h
parent889368e921a11e2abb3769e2c1f395174e83112d (diff)
downloadluajit2-7fb1075903587084b785260fc14cc35976bbe5fd.tar.gz
DUALNUM: Add integer variant of MIN/MAX.
Diffstat (limited to 'src/lj_iropt.h')
-rw-r--r--src/lj_iropt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_iropt.h b/src/lj_iropt.h
index 1c94e91c..dd1128bc 100644
--- a/src/lj_iropt.h
+++ b/src/lj_iropt.h
@@ -82,6 +82,7 @@ static LJ_AINLINE TRef lj_ir_knum(jit_State *J, lua_Number n)
LJ_FUNC void lj_ir_kvalue(lua_State *L, TValue *tv, const IRIns *ir);
/* Convert IR operand types. */
+LJ_FUNC TRef LJ_FASTCALL lj_ir_tonumber(jit_State *J, TRef tr);
LJ_FUNC TRef LJ_FASTCALL lj_ir_tonum(jit_State *J, TRef tr);
LJ_FUNC TRef LJ_FASTCALL lj_ir_tostr(jit_State *J, TRef tr);