<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lcode.c, branch v5.4.4</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=8dd2c912d299b84566c6f6d659336edfa9b18e9b'/>
<id>8dd2c912d299b84566c6f6d659336edfa9b18e9b</id>
<content type='text'>
Warnings with clang when using long double for Lua floats.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Warnings with clang when using long double for Lua floats.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=36de01d9885562444ae2e2a3e0b7e01b3fb8743b'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use tointegerns when luaV_tointegerns will do</title>
<updated>2021-02-24T15:24:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T15:24:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5205f073c57ae4b69e90d35c02e3a1a1cca44eb4'/>
<id>5205f073c57ae4b69e90d35c02e3a1a1cca44eb4</id>
<content type='text'>
Some places don't need the "fast path" macro tointegerns, either
because speed is not essential (lcode.c) or because the value is not
supposed to be an integer already (luaV_equalobj and luaG_tointerror).
Moreover, luaV_equalobj should always use F2Ieq, even if Lua is
compiled to "round to floor".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some places don't need the "fast path" macro tointegerns, either
because speed is not essential (lcode.c) or because the value is not
supposed to be an integer already (luaV_equalobj and luaG_tointerror).
Moreover, luaV_equalobj should always use F2Ieq, even if Lua is
compiled to "round to floor".
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimization/simplification of 'getbaseline'</title>
<updated>2021-02-02T17:43:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-02T17:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e500892e18e994781760819e33098322728796e8'/>
<id>e500892e18e994781760819e33098322728796e8</id>
<content type='text'>
By producing absolute line information at regular intervals, a simple
division can compute the correct entry for a given instruction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By producing absolute line information at regular intervals, a simple
division can compute the correct entry for a given instruction.
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimizations for line hook</title>
<updated>2021-01-28T17:40:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-28T17:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=949187b049ce329c93d6639b91e244f2b208c807'/>
<id>949187b049ce329c93d6639b91e244f2b208c807</id>
<content type='text'>
The function 'changedline' tries harder to avoid calling
'luaG_getfuncline' plus small changes in the use of 'L-&gt;oldpc'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function 'changedline' tries harder to avoid calling
'luaG_getfuncline' plus small changes in the use of 'L-&gt;oldpc'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changes in the API of 'luaH_set' and related functions</title>
<updated>2020-12-04T14:08:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-04T14:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=23051e830a8b212f831443eb888e93e30fa8bb19'/>
<id>23051e830a8b212f831443eb888e93e30fa8bb19</id>
<content type='text'>
Functions to set values in a table (luaH_set, luaH_newkey, etc.) receive
the new value, instead of returning a slot where to put the value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functions to set values in a table (luaH_set, luaH_newkey, etc.) receive
the new value, instead of returning a slot where to put the value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-12-02T18:13:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-02T18:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=d9d2904f09a8039522dfd6f118d4e37bffd5bdf6'/>
<id>d9d2904f09a8039522dfd6f118d4e37bffd5bdf6</id>
<content type='text'>
Names in the parser and other details that do not change actual code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Names in the parser and other details that do not change actual code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-10-30T13:18:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-30T13:18:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=94cbe4651156a84dd9114d7daaa61acd050adbe0'/>
<id>94cbe4651156a84dd9114d7daaa61acd050adbe0</id>
<content type='text'>
- small corrections in the manual
- ldo.c: 'docall' -&gt; 'ccall' ('docall' already used in 'lua.c')
- comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- small corrections in the manual
- ldo.c: 'docall' -&gt; 'ccall' ('docall' already used in 'lua.c')
- comments
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed "conceptual" bug in 'luaK_setreturns'</title>
<updated>2020-03-02T16:24:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-03-02T16:24:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e4607523234f16ed9ed0436340b9315377dbfe7f'/>
<id>e4607523234f16ed9ed0436340b9315377dbfe7f</id>
<content type='text'>
This function was computing invalid instruction addresses when the
expression was not a multi-return instruction. (Virtually all machines
don't raise errors when computing an invalid address, as long as the
address is not accessed, but this computation is undefined behavior in
ISO C.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function was computing invalid instruction addresses when the
expression was not a multi-return instruction. (Virtually all machines
don't raise errors when computing an invalid address, as long as the
address is not accessed, but this computation is undefined behavior in
ISO C.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-02-27T15:59:22+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-02-27T15:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6eb53b752617fae9e1329bfe2cfecdcbb593c398'/>
<id>6eb53b752617fae9e1329bfe2cfecdcbb593c398</id>
<content type='text'>
Several details in code (e.g., moving a variable to the most inner
scope that encloses its uses), comments, parameter names, extra tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several details in code (e.g., moving a variable to the most inner
scope that encloses its uses), comments, parameter names, extra tests.
</pre>
</div>
</content>
</entry>
</feed>
