summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-05-13 16:14:36 -0500
committerAlon Zakai <alonzakai@gmail.com>2018-05-13 14:14:36 -0700
commit7ae28f8edba5b23223e4db4dc281b8bf77ce88ea (patch)
treed51fe9f94091b56975caba194022433f8246a834 /auto_update_tests.py
parent4282c9478c7cb435401e0eed1a464c1d7a2db213 (diff)
downloadbinaryen-7ae28f8edba5b23223e4db4dc281b8bf77ce88ea.tar.gz
binaryen-7ae28f8edba5b23223e4db4dc281b8bf77ce88ea.tar.bz2
binaryen-7ae28f8edba5b23223e4db4dc281b8bf77ce88ea.zip
wasm2asm: Implement reinterpretation instructions (#1547)
As mentioned in #1458 a naive implementation of these instructions is to round trip the value through address 0 in linear memory. Also pointed out in #1458 this isn't necessarily valid for all languages. For now, though, languages like Rust, C, and C++ would likely be horribly broken if valid data could be stored at low addresses, so this commit goes ahead and adds an implementation of the reinterpretation instructions by traveling data through address 0. This will likely need an update if a language comes a long which can validly store data in the first 8 bytes of linear memory, but it seems like that won't happen in the near future. Closes #1458
Diffstat (limited to 'auto_update_tests.py')
0 files changed, 0 insertions, 0 deletions