diff options
Diffstat (limited to 'src/wasm')
-rw-r--r-- | src/wasm/wasm-type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); } |