summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-type.cpp6
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 {