1
1
mirror of https://github.com/tweag/asterius.git synced 2024-10-05 21:30:49 +03:00

Fix wasm-toolkit regression (#536)

This commit is contained in:
Shao Cheng 2020-04-02 18:08:13 +02:00 committed by GitHub
parent d61c229a62
commit ed20f8253c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ infer expr = case expr of
Unary {unaryOp = ConvertSInt64ToFloat64} -> [F64]
Unary {unaryOp = TruncUFloat64ToInt64} -> [I64]
Unary {unaryOp = TruncSFloat64ToInt64} -> [I64]
Binary {binaryOp = AddInt64} -> [I64]
Host {} -> [I32]
Nop -> []
Unreachable -> []