Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | StubUnsupportedJSOps: Remove CallIndirects (#3027) | Alon Zakai | 2020-08-06 | 1 | -0/+21 |
| | | | | | | wasm2js does not have full call_indirect support as we don't trap if the type is incorrect, which wasm does. Therefore the StubUnsupportedJSOps pass needs to remove those operations so that the fuzzer doesn't find spurious issues. | ||||
* | Add StubUnsupportedJSOps to remove operations that JS does not support (#3024) | Alon Zakai | 2020-08-05 | 1 | -0/+14 |
This doesn't lower them - it just replaces the unsupported operation with a drop. This will be useful for fuzzing, where to compare JS to the correct semantics we must avoid operations where JS is not always accurate. Also fully document the i64 -> f32 conversion issue in JS. |