diff options
author | Thomas Lively <tlively@google.com> | 2024-08-05 15:30:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 12:30:16 -0700 |
commit | d9c44afdca7b2e2da29e4202f0d0a06fb0add115 (patch) | |
tree | 112ad5dfb3377e476082fd94ada8847472bd3d88 /src/wasm | |
parent | 5573cdb80e2ac9aed4cd5f20c3e41dc3138ef426 (diff) | |
download | binaryen-d9c44afdca7b2e2da29e4202f0d0a06fb0add115.tar.gz binaryen-d9c44afdca7b2e2da29e4202f0d0a06fb0add115.tar.bz2 binaryen-d9c44afdca7b2e2da29e4202f0d0a06fb0add115.zip |
[NFC] Remove unused `isException` type methods (#6802)
Diffstat (limited to 'src/wasm')
-rw-r--r-- | src/wasm/wasm-type.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index bfab4b955..339eeb0b9 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -814,10 +814,6 @@ bool Type::isStruct() const { return isRef() && getHeapType().isStruct(); } bool Type::isArray() const { return isRef() && getHeapType().isArray(); } -bool Type::isException() const { - return isRef() && getHeapType().isException(); -} - bool Type::isString() const { return isRef() && getHeapType().isString(); } bool Type::isDefaultable() const { @@ -1148,8 +1144,6 @@ bool HeapType::isArray() const { } } -bool HeapType::isException() const { return *this == HeapType::exn; } - bool HeapType::isString() const { return *this == HeapType::string; } bool HeapType::isBottom() const { |