diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2018-12-12 14:11:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 14:11:04 -0800 |
commit | 75b693434b5af75d105af4900b5d0c6048155421 (patch) | |
tree | 233cf1c142d7695c1239fe84135cbfd0d463350f /src/literal.h | |
parent | 7edaebedb0f7185fae0f3fbf146a1c6b44842f5c (diff) | |
download | binaryen-75b693434b5af75d105af4900b5d0c6048155421.tar.gz binaryen-75b693434b5af75d105af4900b5d0c6048155421.tar.bz2 binaryen-75b693434b5af75d105af4900b5d0c6048155421.zip |
Update wrap and demote literal op names (#1817)
* Update literal op names
* Remove `demoteToF32` in favor of `demote`
Diffstat (limited to 'src/literal.h')
-rw-r--r-- | src/literal.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/literal.h b/src/literal.h index 1bc09c360..4ed23b80d 100644 --- a/src/literal.h +++ b/src/literal.h @@ -97,13 +97,12 @@ public: Literal extendS8() const; Literal extendS16() const; Literal extendS32() const; - Literal truncateToI32() const; - Literal truncateToF32() const; + Literal wrapToI32() const; - Literal truncSIToF32() const; - Literal truncUIToF32() const; - Literal truncSIToF64() const; - Literal truncUIToF64() const; + Literal convertSIToF32() const; + Literal convertUIToF32() const; + Literal convertSIToF64() const; + Literal convertUIToF64() const; Literal truncSatToSI32() const; Literal truncSatToSI64() const; |