From 1ffea5761c4a9ddbdb2b1e6dc35d5346f2956b9c Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 22 Mar 2022 11:02:34 -0700 Subject: Remove nearly unused {Heap}Type::isCompound (#4541) --- src/wasm/wasm-type.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm') diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index d7ba224c8..ea4e43efe 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -530,12 +530,12 @@ namespace wasm { namespace { TypeInfo* getTypeInfo(Type type) { - assert(type.isCompound()); + assert(!type.isBasic()); return (TypeInfo*)type.getID(); } HeapTypeInfo* getHeapTypeInfo(HeapType ht) { - assert(ht.isCompound()); + assert(!ht.isBasic()); return (HeapTypeInfo*)ht.getID(); } -- cgit v1.2.3