diff options
author | Thomas Lively <tlively@google.com> | 2024-06-14 14:46:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 14:46:47 -0700 |
commit | 027128dccf76692ca4e000c6dbb489b348b12c73 (patch) | |
tree | 00cbc09eccc2248e1939fa7d9d09c13d8ca769f8 /scripts/fuzz_passes.py | |
parent | 0fa99fb09b881985cf94e74b8c0b339bdef61be6 (diff) | |
download | binaryen-027128dccf76692ca4e000c6dbb489b348b12c73.tar.gz binaryen-027128dccf76692ca4e000c6dbb489b348b12c73.tar.bz2 binaryen-027128dccf76692ca4e000c6dbb489b348b12c73.zip |
[NFC] Add constexpr HeapTypes for basic heap types (#6662)
Since the BasicHeapTypes are in an enum, calling HeapType methods on them
requires something like `HeapType(HeapType::func).someMethod()`. This is
unnecessarily verbose, so add a new `HeapTypes` namespace that contains
constexpr HeapType globals that can be used instead, shorting this to
`HeapTypes::func.someMethod()`.
Diffstat (limited to 'scripts/fuzz_passes.py')
0 files changed, 0 insertions, 0 deletions