diff options
author | Daniel Wirtz <dcode@dcode.io> | 2019-03-04 19:49:27 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2019-03-04 10:49:27 -0800 |
commit | 6657500c924bdd40c8abf8c6a9655654b9342eca (patch) | |
tree | 226039d3480cd9bbf805aae8ee3084de187b2c0b /src/passes/OptimizeAddedConstants.cpp | |
parent | 689fe405a3417fbfd59456035add6f6f53149f35 (diff) | |
download | binaryen-6657500c924bdd40c8abf8c6a9655654b9342eca.tar.gz binaryen-6657500c924bdd40c8abf8c6a9655654b9342eca.tar.bz2 binaryen-6657500c924bdd40c8abf8c6a9655654b9342eca.zip |
Align v128 text format with WABT (#1930)
This PR changes the formatting of v128.const literals in text format / stack ir like so
- v128.const i32 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x80
+ v128.const i32 0x04030201 0x08070605 0x0c0b0a09 0x800f0e0d
Recently hit this when trying to load Binaryen generated text format with WABT, which errored with `error: unexpected token 0x5, expected ).
Diffstat (limited to 'src/passes/OptimizeAddedConstants.cpp')
0 files changed, 0 insertions, 0 deletions