diff options
author | Ben Smith <binjimin@gmail.com> | 2017-08-16 10:12:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 10:12:03 -0700 |
commit | bc3deb3288252866d9b571cd28c4104b9ffffd56 (patch) | |
tree | d39d5056d954240f541b11f7c3a2d80b7c31d256 /src/binary-reader-linker.cc | |
parent | 3d3920f6d9388c46af6725dabb34d98752958d8d (diff) | |
download | wabt-bc3deb3288252866d9b571cd28c4104b9ffffd56.tar.gz wabt-bc3deb3288252866d9b571cd28c4104b9ffffd56.tar.bz2 wabt-bc3deb3288252866d9b571cd28c4104b9ffffd56.zip |
Add saturating float truncation operators (#573)
Add saturating truncation operators as described here:
https://github.com/webassembly/nontrapping-float-to-int-conversions.
This change also codifies the mechanism for enabling new WebAssembly features
by passing the `Features` object. Opcode now has a `IsEnabled(const Features&)`
member function to query if the opcode is enabled. This means that the
`--future-exceptions` flag has been renamed to `--enable-exceptions` for
consistency. Checking whether the feature is enabled always happens at input;
either WastParser or BinaryReader.
Diffstat (limited to 'src/binary-reader-linker.cc')
0 files changed, 0 insertions, 0 deletions