diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-12-03 14:58:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 14:58:39 -0800 |
commit | d6444b5032a64f3abe35bf60eb96e151669d2fa5 (patch) | |
tree | 3df9f4aa3819961e63c9f1da640ec607abe2fbca /src/wasm/literal.cpp | |
parent | 15356635e34ed8981c993d67ed90e83bc7bfa405 (diff) | |
download | binaryen-d6444b5032a64f3abe35bf60eb96e151669d2fa5.tar.gz binaryen-d6444b5032a64f3abe35bf60eb96e151669d2fa5.tar.bz2 binaryen-d6444b5032a64f3abe35bf60eb96e151669d2fa5.zip |
[NFC] Rename BasicID to BasicType (#3419)
This name is more descriptive and paves the way toward interning HeapTypes as
well, with an analogous BasicHeapType.
Diffstat (limited to 'src/wasm/literal.cpp')
-rw-r--r-- | src/wasm/literal.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm/literal.cpp b/src/wasm/literal.cpp index c80bb44b8..4edaf8039 100644 --- a/src/wasm/literal.cpp +++ b/src/wasm/literal.cpp @@ -1569,7 +1569,8 @@ Literal Literal::shuffleV8x16(const Literal& other, return Literal(bytes); } -template<Type::BasicID Ty, int Lanes> static Literal splat(const Literal& val) { +template<Type::BasicType Ty, int Lanes> +static Literal splat(const Literal& val) { assert(val.type == Ty); LaneArray<Lanes> lanes; lanes.fill(val); |