diff options
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index a781e0fa3..6db11cc7d 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -443,7 +443,8 @@ void Unary::finalize() { case SqrtFloat64: type = value->type; break; case EqZInt32: case EqZInt64: type = i32; break; - case ExtendSInt32: case ExtendUInt32: type = i64; break; + case ExtendS8Int32: case ExtendS16Int32: type = i32; break; + case ExtendSInt32: case ExtendUInt32: case ExtendS8Int64: case ExtendS16Int64: case ExtendS32Int64: type = i64; break; case WrapInt64: type = i32; break; case PromoteFloat32: type = f64; break; case DemoteFloat64: type = f32; break; |