1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00
Roberto Ierusalimschy 1fce5bea81 More uniform implementation for tail calls
'luaD_pretailcall' mimics 'luaD_precall', handling call metamethods
and calling C functions directly. That makes the code in the
interpreter loop simpler.

This commit also goes back to emulating the tail call in 'luaD_precall'
with a goto, as C compilers may not do proper tail calls and the C
stack can overflow much sooner than the Lua stack (which grows as the
metamethod is added to it).
2021-10-29 13:41:24 -03:00
2021-10-11 13:49:13 -03:00
all
2020-10-12 12:29:09 -03:00
2021-09-15 11:18:41 -03:00
2021-10-18 11:58:40 -03:00
2020-02-27 12:59:22 -03:00
2021-02-24 11:14:44 -03:00
2020-09-03 09:52:43 -03:00
2021-02-24 11:14:44 -03:00
2021-10-11 13:49:13 -03:00
2021-03-10 10:27:19 -03:00
2021-02-24 11:14:44 -03:00
2020-04-23 14:48:15 -03:00
2020-09-15 14:29:52 -03:00
2021-09-15 11:18:41 -03:00
2021-02-24 11:14:44 -03:00
2021-02-24 11:14:44 -03:00
2020-04-23 14:48:15 -03:00
2021-03-29 11:47:12 -03:00
2020-04-23 14:48:15 -03:00
2021-02-24 11:14:44 -03:00
2020-12-02 15:13:13 -03:00
2020-04-23 14:48:15 -03:00
2021-03-29 11:47:12 -03:00
2021-02-24 11:14:44 -03:00
2021-10-11 13:49:13 -03:00
2020-12-07 11:17:30 -03:00
2021-02-24 11:14:44 -03:00
2020-08-07 11:21:44 -03:00
2021-03-29 11:26:07 -03:00
2021-05-24 16:48:09 -03:00
2020-05-07 14:52:19 -03:00
2021-02-24 11:14:44 -03:00
2021-09-15 11:18:41 -03:00
2020-12-02 15:13:13 -03:00

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.

Description
No description provided
Readme 16 MiB
Languages
C 67.4%
Lua 32%
Makefile 0.6%