summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-type.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp
index a6ed68770..4f341588b 100644
--- a/src/wasm/wasm-type.cpp
+++ b/src/wasm/wasm-type.cpp
@@ -866,31 +866,6 @@ HeapTypeKind HeapType::getKind() const {
return getHeapTypeInfo(*this)->kind;
}
-bool HeapType::isBottom() const {
- if (isBasic()) {
- switch (getBasic(Unshared)) {
- case ext:
- case func:
- case cont:
- case any:
- case eq:
- case i31:
- case struct_:
- case array:
- case exn:
- case string:
- return false;
- case none:
- case noext:
- case nofunc:
- case nocont:
- case noexn:
- return true;
- }
- }
- return false;
-}
-
bool HeapType::isOpen() const {
if (isBasic()) {
return false;