summaryrefslogtreecommitdiff
path: root/scripts/fuzz_passes.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-06-14 14:46:47 -0700
committerGitHub <noreply@github.com>2024-06-14 14:46:47 -0700
commit027128dccf76692ca4e000c6dbb489b348b12c73 (patch)
tree00cbc09eccc2248e1939fa7d9d09c13d8ca769f8 /scripts/fuzz_passes.py
parent0fa99fb09b881985cf94e74b8c0b339bdef61be6 (diff)
downloadbinaryen-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