removed macro 'luai_numinvalidop' (main motivation removed, as folding

does not handle any division by zero by default)
This commit is contained in:
Roberto Ierusalimschy
2014-12-26 12:44:44 -02:00
parent fb6796ba06
commit a51069202a
2 changed files with 2 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.235 2014/12/16 17:17:30 roberto Exp roberto $
** $Id: luaconf.h,v 1.236 2014/12/19 13:31:12 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -507,14 +507,6 @@
#endif
/*
** The following macro checks whether an operation is not safe to be
** performed by the constant folder. It should result in zero only if
** the operation is safe.
*/
#define luai_numinvalidop(op,a,b) 0
/*
@@ LUA_INTEGER is the integer type used by Lua.
**