diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-07 23:15:00 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-07 23:15:00 +0200 |
| commit | 6b43fd7c0773bd97c4bd80145a17d67062afd4ea (patch) | |
| tree | 77cc5576da60fbd4e2fcb5297a78c84e2b7bf4a1 /lib/xixanta/fuzz | |
| parent | ca7ff2c299dbd15b89adae73caa356584977dd46 (diff) | |
| download | tools.nes-6b43fd7c0773bd97c4bd80145a17d67062afd4ea.tar.gz tools.nes-6b43fd7c0773bd97c4bd80145a17d67062afd4ea.zip | |
Preserve the 'accessed' member on macro arguments
Macro arguments get tampered with every time a new call has to be
bundled. Deep down this is done by cloning the underlying object, but
this resets any increase on the 'accessed' member, giving always the
impression that macro arguments are never accessed. Fix this by at least
preserving this member when cloning a macro argument.
Note that this is neither the most elegant solution, and probably not
the most correct. As in, it will probably get into a non-precise count
after some calls. But at least it will be a non-zero value, which is
more than enough to what this is actually used for.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta/fuzz')
0 files changed, 0 insertions, 0 deletions
