<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lcode.c, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2024-08-17T15:37:04+00:00</updated>
<entry>
<title>Bug: wrong code gen. for indices with comparisons</title>
<updated>2024-08-17T15:37:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-08-17T15:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=782ef85b22f89d1cd1ab083202f018668d26e4b0'/>
<id>urn:sha1:782ef85b22f89d1cd1ab083202f018668d26e4b0</id>
<content type='text'>
In function 'luaK_exp2val', used to generate code for indices: Macro
'hasjumps' does not consider the case when the whole expression is a
"jump" (a test). In all other of its uses, the surrounding code ensures
that the expression cannot be VJMP.
</content>
</entry>
<entry>
<title>Bug: overlapping assignments</title>
<updated>2024-06-04T15:52:52+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-04T15:52:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ae9a0cbbb446499e759acae47664d1d136d7ba90'/>
<id>urn:sha1:ae9a0cbbb446499e759acae47664d1d136d7ba90</id>
<content type='text'>
ISO C forbids assignment of a union field to another field of the same
union.
</content>
</entry>
<entry>
<title>Several functions turned 'static'</title>
<updated>2023-05-22T17:47:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-22T17:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9be74ccc214eb6f4d9d0b9496fd973542c7377d9'/>
<id>urn:sha1:9be74ccc214eb6f4d9d0b9496fd973542c7377d9</id>
<content type='text'>
Several functions that were already being used only inside their
own file have been declared as 'static'.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2023-05-15T13:07:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-15T13:07:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=934e77a286aeb97ca02badf56956ccc78217e9d0'/>
<id>urn:sha1:934e77a286aeb97ca02badf56956ccc78217e9d0</id>
<content type='text'>
- Better comments about short strings in opcodes.
- luaH_newkey made static.
</content>
</entry>
<entry>
<title>More orderliness in casts of enumerations</title>
<updated>2023-03-27T19:29:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-03-27T19:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7ca8105a2ea7b6a0d7b55b59d273ccd271c35268'/>
<id>urn:sha1:7ca8105a2ea7b6a0d7b55b59d273ccd271c35268</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More regularity in uses of enums in 'lcode.c'</title>
<updated>2023-03-24T18:52:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-03-24T18:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=94689ac3ad290caf3bada21c389a991f55391987'/>
<id>urn:sha1:94689ac3ad290caf3bada21c389a991f55391987</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Factoring out common parts of 'codearith' and 'codebitwise'</title>
<updated>2022-05-06T20:52:46+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-05-06T20:52:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=315639d3bbdff4f83d2ab55863141276cb882af0'/>
<id>urn:sha1:315639d3bbdff4f83d2ab55863141276cb882af0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Wrong code generation in bitwise operations</title>
<updated>2022-04-25T17:42:51+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-04-25T17:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c764ca71a639f5585b5f466bea25dc42b855a4b0'/>
<id>urn:sha1:c764ca71a639f5585b5f466bea25dc42b855a4b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Detail</title>
<updated>2022-01-03T12:12:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-01-03T12:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8dd2c912d299b84566c6f6d659336edfa9b18e9b'/>
<id>urn:sha1:8dd2c912d299b84566c6f6d659336edfa9b18e9b</id>
<content type='text'>
Warnings with clang when using long double for Lua floats.
</content>
</entry>
<entry>
<title>Changes in cache for function constants</title>
<updated>2021-03-30T17:49:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-30T17:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=36de01d9885562444ae2e2a3e0b7e01b3fb8743b'/>
<id>urn:sha1:36de01d9885562444ae2e2a3e0b7e01b3fb8743b</id>
<content type='text'>
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.)
</content>
</entry>
</feed>
