mirror of
https://github.com/lua/lua.git
synced 2025-01-14 05:43:00 +08:00
36de01d988
In 'lcode.c', when adding constants to the list of constants of a function, integers represent themselves in the cache and floats with integral values get a small delta to avoid collision with integers. (This change avoids creating artificial addresses; the old implementation converted integers to pointers to index the cache.)