diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-02-20 17:30:38 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-02-21 11:02:43 +0100 |
commit | ee4af9b55cb4591e63c596af592abc33a8a8f315 (patch) | |
tree | c38739676757c60b8caa0c1f0401022e8aa9b44c /compiler.c | |
parent | 3f9811d2f7b730f1f1d030872ae1def7e8349be6 (diff) |
vm: rework object iteration
Ensure that deleting object keys during iteration is safe by keeping a
global chain of per-object iterators which are advanced to the next key
when the entry that is about to be iterated is deleted.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.c')
0 files changed, 0 insertions, 0 deletions