diff options
author | Thomas Lively <tlively@google.com> | 2024-08-21 14:58:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-21 14:58:57 -0700 |
commit | 21ddb853559bde490b4f02db576d4b8cd48d3106 (patch) | |
tree | 870e7a2915c9cb435030dc5e13911455424fcdc0 /test/spec/of_string-overflow-s32.fail.wast | |
parent | 7889abf8137291cc591cac8f38570789ebaf354d (diff) | |
download | binaryen-21ddb853559bde490b4f02db576d4b8cd48d3106.tar.gz binaryen-21ddb853559bde490b4f02db576d4b8cd48d3106.tar.bz2 binaryen-21ddb853559bde490b4f02db576d4b8cd48d3106.zip |
[NFC] hash constant string as void* (#6863)
possible-contents.h hashes the location for caught exnrefs by hashing an
arbitrary string, "caught-exnref-location". It previously used
`std::hash<const char*>` for this, but some standard library
implementations report an error when this template instantiation is used
because hashing the location of a string is almost never correct. In
this case it is fine, so switch to using `std::hash<const void*>`.
Diffstat (limited to 'test/spec/of_string-overflow-s32.fail.wast')
0 files changed, 0 insertions, 0 deletions