Go to file
Roberto Ierusalimschy df13f25948 First version of OP_MMBIN opcodes
In arithmetic/bitwise operators, the call to metamethods is made
in a separate opcode following the main one. (The main
opcode skips this next one when the operation succeeds.) This
change reduces slightly the size of the binary and the complexity
of the arithmetic/bitwise opcodes. It also simplfies the treatment
of errors and yeld/resume in these operations, as there are much
fewer cases to consider. (Only OP_MMBIN/OP_MMBINI/OP_MMBINK,
instead of all variants of all arithmetic/bitwise operators.)
2019-08-27 13:59:39 -03:00
manual Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
testes First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
all Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
bugs Bug: Long brackets with a huge number of '=' causes overflow 2018-12-14 13:12:01 -02:00
lapi.c Change in the handling of 'L->top' when calling metamethods 2019-07-26 14:59:39 -03:00
lapi.h Small corrections when setting 'L->top' 2019-07-25 13:55:29 -03:00
lauxlib.c Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
lauxlib.h Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lbaselib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lcode.c First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
lcode.h New kind of expression VKSTR 2019-07-17 14:26:56 -03:00
lcorolib.c Multiple errors in '__toclose' report the first one 2019-06-05 13:16:25 -03:00
lctype.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lctype.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldblib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
ldebug.c First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
ldebug.h A to-be-closed variable must have a closable value (or be nil) 2018-11-29 16:02:44 -02:00
ldo.c '__call' metamethod can be any callable object 2019-06-25 17:45:50 -03:00
ldo.h First "complete" implementation of to-be-closed variables 2018-10-17 10:44:42 -03:00
ldump.c First implementation of constant propagation 2019-07-12 11:38:42 -03:00
lfunc.c Supressed errors in '__close' generate warnings 2019-08-16 09:51:54 -03:00
lfunc.h Do not collect open upvalues 2019-07-22 09:41:10 -03:00
lgc.c Supressed errors in '__close' generate warnings 2019-08-16 09:51:54 -03:00
lgc.h Avoid the creation of too many strings in 'package' 2019-05-03 10:14:25 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
ljumptab.h First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
llex.c Details 2019-08-01 14:11:33 -03:00
llex.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
llimits.h A few changes in tests about number of bits in integers 2019-05-13 16:17:21 -03:00
lmathlib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lmem.c Some details in 'lmem.c' and 'lgc.c' 2019-07-19 09:43:35 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lobject.c Change in the handling of 'L->top' when calling metamethods 2019-07-26 14:59:39 -03:00
lobject.h Tag LUA_TUPVALTBC replaced by a flag 2019-07-19 11:12:31 -03:00
lopcodes.c First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
lopcodes.h First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
lopnames.h First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
loslib.c Some improvements in date/time functions 2019-07-24 15:01:59 -03:00
lparser.c Change in the syntax of attributes 2019-07-30 12:18:19 -03:00
lparser.h New kind of expression VKSTR 2019-07-17 14:26:56 -03:00
lprefix.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstate.c Supressed errors in '__close' generate warnings 2019-08-16 09:51:54 -03:00
lstate.h Supressed errors in '__close' generate warnings 2019-08-16 09:51:54 -03:00
lstring.c Details 2019-06-03 11:36:42 -03:00
lstring.h Strings inside Lua are not fully aligned 2019-03-13 14:14:40 -03:00
lstrlib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
ltable.c A few changes in tests about number of bits in integers 2019-05-13 16:17:21 -03:00
ltable.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltablib.c Details (typos in comments) 2019-07-05 15:03:15 -03:00
ltests.c Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
ltests.h Small changes around C-stack limit 2019-06-26 13:26:36 -03:00
ltm.c First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
ltm.h First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
lua.c Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
lua.h New function 'setCstacklimit' 2019-06-18 16:52:22 -03:00
luaconf.h Details (typos in comments) 2019-07-05 15:03:15 -03:00
lualib.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.c First implementation of constant propagation 2019-07-12 11:38:42 -03:00
lundump.h Small changes in the header of binary files 2019-03-19 15:31:08 -03:00
lutf8lib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lvm.c First version of OP_MMBIN opcodes 2019-08-27 13:59:39 -03:00
lvm.h New macros for arithmetic/bitwise operations in 'luaV_execute' 2018-11-05 16:10:42 -02:00
lzio.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lzio.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
makefile Details 2019-08-01 14:11:33 -03:00
onelua.c Keep correct type for immediate operands in comparisons 2019-03-22 13:37:17 -03:00