diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wasm.h b/src/wasm.h index 3a44556d5..f1dcd7b46 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1522,12 +1522,11 @@ public: Expression* ref; - HeapType intendedType; + Type castType; void finalize(); - // TODO: Support ref.test null as well. - Type getCastType() { return Type(intendedType, NonNullable); } + Type getCastType() { return castType; } }; class RefCast : public SpecificExpression<Expression::RefCastId> { |