Fix bug in function signatures

This commit is contained in:
Alexey Andreev 2016-09-01 12:54:49 +03:00
parent 9fd5a87a00
commit c70ba8f16d

View File

@ -54,6 +54,8 @@ public final class WasmGeneratorUtil {
case DOUBLE: case DOUBLE:
return WasmType.FLOAT64; return WasmType.FLOAT64;
} }
} else if (type == ValueType.VOID) {
return null;
} }
return WasmType.INT32; return WasmType.INT32;
} }