summaryrefslogtreecommitdiff
path: root/src/wasm-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r--src/wasm-type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h
index ff7e9af9c..12b4f3df7 100644
--- a/src/wasm-type.h
+++ b/src/wasm-type.h
@@ -363,6 +363,8 @@ public:
const Struct& getStruct() const;
Array getArray() const;
+ bool getSuperType(HeapType& out) const;
+
constexpr TypeID getID() const { return id; }
constexpr BasicHeapType getBasic() const {
assert(isBasic() && "Basic heap type expected");