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 f1dcd7b46..db10fe260 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1553,12 +1553,11 @@ public: Name name; Expression* ref; - HeapType intendedType; + Type castType; void finalize(); - // TODO: Support br_on_cast* null as well. - Type getCastType() { return Type(intendedType, NonNullable); } + Type getCastType() { return castType; } // Returns the type sent on the branch, if it is taken. Type getSentType(); |