mirror of
https://github.com/lua/lua
synced 2026-06-08 15:34:49 +00: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.)