summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wasm-type.h2
-rw-r--r--src/wasm/wasm-type.cpp6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h
index b3640ff41..49179b1a6 100644
--- a/src/wasm-type.h
+++ b/src/wasm-type.h
@@ -170,7 +170,6 @@ public:
bool isSignature() const;
bool isStruct() const;
bool isArray() const;
- bool isException() const;
bool isString() const;
bool isDefaultable() const;
@@ -377,7 +376,6 @@ public:
bool isContinuation() const;
bool isStruct() const;
bool isArray() const;
- bool isException() const;
bool isString() const;
bool isBottom() const;
bool isOpen() const;
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 {