lua/testes
Roberto Ierusalimschy 2316ec4c24 Back with optimization for 'if cond then goto'
Statements like 'if cond then goto label' generate code so that the
jump in the 'if' goes directly to the given label. This optimization
cannot be done when the jump is backwards leaving the scope of some
variable, as it cannot add the needed 'close' instruction. (The jumps
were already generated by the 'if'.)

This commit also added 'likely'/'unlikely' for tests for errors in
the parser, and it changed the way breaks outside loops are detected.
(Now they are detected like other goto's with undefined labels.)
2018-10-30 15:04:19 -03:00
..
libs Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
all.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
api.lua To-be-closed variables in the C API 2018-10-25 15:30:15 -03:00
attrib.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
big.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
bitwise.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
bwcoercion.lua Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
calls.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
closure.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
code.lua Back with optimization for 'if cond then goto' 2018-10-30 15:04:19 -03:00
constructs.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
coroutine.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
db.lua Complete implementation of to-be-closed variables 2018-10-22 14:55:51 -03:00
errors.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
events.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
files.lua Added a '__close' metamethod to file handles 2018-10-23 13:57:25 -03:00
gc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
gengc.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
goto.lua Back with optimization for 'if cond then goto' 2018-10-30 15:04:19 -03:00
literals.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
locals.lua Closing methods should not interfere with returning values 2018-10-25 12:50:20 -03:00
main.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
math.lua Removed extra information from RCS keyword strings in tests 2018-10-22 15:20:07 -03:00
nextvar.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
pm.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
sort.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
strings.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
tpack.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
utf8.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
vararg.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00
verybig.lua Added directory to test file names in '$Id:' 2018-07-25 15:31:04 -03:00