diff options
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index 690c96f67..1e4ff6e3e 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -939,7 +939,7 @@ void BrOnCast::finalize() { } } -Type BrOnCast::getCastType() { return castType; } +Type BrOnCast::getCastType() { return Type(rtt->type.getHeapType(), Nullable); } void RttCanon::finalize() { // Nothing to do - the type must have been set already during construction. |