diff options
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index fc2a3b290..a54104cc0 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -420,6 +420,9 @@ public: // Return the ordered HeapType children, looking through child Types. std::vector<HeapType> getHeapTypeChildren(); + // Return the LUB of two HeapTypes. The LUB always exists. + static HeapType getLeastUpperBound(HeapType a, HeapType b); + std::string toString() const; }; |