Jakub Konka 015c899297 Make align expr on fns a compile error in Wasm
In Wasm, specifying alignment of function pointers makes little sense
since function pointers are in fact indices to a Wasm table, therefore
any alignment check on those is invalid. This can cause unexpected
behaviour when checking expected alignment with `@ptrToInt(fn_ptr)`
or similar. This commit proposes to make `align` expressions a
compile error when compiled to Wasm architecture.

Some references:
[1] [Mozilla: WebAssembly Tables](https://developer.mozilla.org/en-US/docs/WebAssembly/Understanding_the_text_format#WebAssembly_tables)
[2] [Sunfishcode's Wasm Ref Manual](https://github.com/sunfishcode/wasm-reference-manual/blob/master/WebAssembly.md#indirect-call)
2020-05-26 17:17:32 +02:00
..
2019-04-04 22:07:15 -04:00
2019-04-04 22:07:15 -04:00
2018-09-05 23:23:11 -04:00
2019-09-22 15:58:57 -04:00
2020-02-10 21:08:08 -05:00
2016-09-19 11:54:01 -04:00
2020-02-16 19:16:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-05-23 20:27:09 -04:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-02-10 21:08:08 -05:00
2020-03-27 23:43:21 -04:00
2020-04-04 14:43:51 -04:00
2020-05-17 12:18:53 -04:00
2020-02-16 19:16:08 -05:00
2018-10-27 11:35:01 -04:00
2020-02-16 13:25:30 -05:00