diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-12-30 10:50:49 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-12-30 10:50:49 -0300 |
| commit | c4e2c91973fed04e7da940c00c92f10f9eb0f9ec (patch) | |
| tree | 63aead2845a1baea625989447a23f750120e56eb /ltable.c | |
| parent | 632a71b24d8661228a726deb5e1698e9638f96d8 (diff) | |
| download | lua-c4e2c91973fed04e7da940c00c92f10f9eb0f9ec.tar.gz lua-c4e2c91973fed04e7da940c00c92f10f9eb0f9ec.tar.bz2 lua-c4e2c91973fed04e7da940c00c92f10f9eb0f9ec.zip | |
Details
Some comments still talked about bit 'isrealasize', which has been
removed.
Diffstat (limited to 'ltable.c')
| -rw-r--r-- | ltable.c | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -651,10 +651,9 @@ static void reinserthash (lua_State *L, Table *ot, Table *t) { | |||
| 651 | 651 | ||
| 652 | 652 | ||
| 653 | /* | 653 | /* |
| 654 | ** Exchange the hash part of 't1' and 't2'. (In 'flags', only the | 654 | ** Exchange the hash part of 't1' and 't2'. (In 'flags', only the dummy |
| 655 | ** dummy bit must be exchanged: The 'isrealasize' is not related | 655 | ** bit must be exchanged: The metamethod bits do not change during a |
| 656 | ** to the hash part, and the metamethod bits do not change during | 656 | ** resize, so the "real" table can keep their values.) |
| 657 | ** a resize, so the "real" table can keep their values.) | ||
| 658 | */ | 657 | */ |
| 659 | static void exchangehashpart (Table *t1, Table *t2) { | 658 | static void exchangehashpart (Table *t1, Table *t2) { |
| 660 | lu_byte lsizenode = t1->lsizenode; | 659 | lu_byte lsizenode = t1->lsizenode; |
