summaryrefslogtreecommitdiff
path: root/scripts/fuzz_passes.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-06-14 14:47:27 -0700
committerGitHub <noreply@github.com>2024-06-14 14:47:27 -0700
commiteacea8060a29acefdd9cb45fdf95d73afa76c656 (patch)
treeacd001c7102a26536f9c1f775add7c899ccf9d88 /scripts/fuzz_passes.py
parent027128dccf76692ca4e000c6dbb489b348b12c73 (diff)
downloadbinaryen-eacea8060a29acefdd9cb45fdf95d73afa76c656.tar.gz
binaryen-eacea8060a29acefdd9cb45fdf95d73afa76c656.tar.bz2
binaryen-eacea8060a29acefdd9cb45fdf95d73afa76c656.zip
[Parser][NFC] Make typeidx and maybeTypeidx return consistent types (#6663)
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