diff options
author | Alon Zakai <azakai@google.com> | 2024-10-30 08:23:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 08:23:46 -0700 |
commit | a0f77adf4f05b47c5f2ecf87279f191195880393 (patch) | |
tree | 88b98ab1a2da8ccb76e2ffbc62c7267a3ee51a52 /src/tools | |
parent | 2a1cb314d6a028cfd54374f89a47e111678c3d25 (diff) | |
download | binaryen-a0f77adf4f05b47c5f2ecf87279f191195880393.tar.gz binaryen-a0f77adf4f05b47c5f2ecf87279f191195880393.tar.bz2 binaryen-a0f77adf4f05b47c5f2ecf87279f191195880393.zip |
[NFC] Use more precise types for Expression IDs (#7038)
Make the ID enum an `int8_t`, and make the Specific ID a `constexpr`
of that type.
This seems more idiomatic and makes some code simpler, see the
change to `find_all.h` which no longer needs a cast to compile.
This has no performance impact.
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions