diff options
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index 140fcf893..cfd57dd02 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -679,8 +679,7 @@ struct TypeBuilder { builder.setHeapType(index, array); return *this; } - Entry& subTypeOf(Entry other) { - assert(&builder == &other.builder); + Entry& subTypeOf(HeapType other) { builder.setSubType(index, other); return *this; } |