diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-30 14:49:18 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-30 14:49:18 -0300 |
commit | 36de01d9885562444ae2e2a3e0b7e01b3fb8743b (patch) | |
tree | 7aed386cc8d13e3b2a960404d2cf605d8090d571 /lvm.c | |
parent | 7fbe2158089898f09d741e991737f282e514ffaa (diff) | |
download | lua-36de01d9885562444ae2e2a3e0b7e01b3fb8743b.tar.gz lua-36de01d9885562444ae2e2a3e0b7e01b3fb8743b.tar.bz2 lua-36de01d9885562444ae2e2a3e0b7e01b3fb8743b.zip |
Changes in cache for function constants
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.)
Diffstat (limited to 'lvm.c')
0 files changed, 0 insertions, 0 deletions