diff options
author | Sam Clegg <sbc@chromium.org> | 2021-12-09 07:48:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 07:48:56 -0800 |
commit | 5a09e0f01cd3b12cdd22a6496cb36e0c1683f932 (patch) | |
tree | 1cfafe47a74b740304db413de49ff9cfdb4da314 /src/circular-array.h | |
parent | 1e01cca8c08f332b2807996a7ecfe74676ea755d (diff) | |
download | wabt-5a09e0f01cd3b12cdd22a6496cb36e0c1683f932.tar.gz wabt-5a09e0f01cd3b12cdd22a6496cb36e0c1683f932.tar.bz2 wabt-5a09e0f01cd3b12cdd22a6496cb36e0c1683f932.zip |
Make copies of incoming expression locations in SharedValidator. NFC (#1779)
The SharedValidator was assuming it could keep a pointer to the incoming
location of each expression longer than the scope of the function.
This assumption holds true for one of the users of SharedValidator
(src/validator.cc) but I'm working on change that adds better location
tracking to the other one in (src/interp/binary-reader-interp.cc) and in
that case its easier to pass temporary locations into the
SharedValidator that don't outlive the call.
Diffstat (limited to 'src/circular-array.h')
0 files changed, 0 insertions, 0 deletions