diff options
Diffstat (limited to 'src/wasm')
-rw-r--r-- | src/wasm/literal.cpp | 3 | ||||
-rw-r--r-- | src/wasm/wasm-type.cpp | 6 |
2 files changed, 5 insertions, 4 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); diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index a810f6f98..be017140d 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -243,9 +243,9 @@ struct TypeStore { // If a Type is constructed from a list of types, the list of types becomes // implicitly converted to a TypeInfo before canonicalizing its id. This is // also the case if a list of just one type is provided, even though such a - // list of types will be canonicalized to the BasicID of the single type. As - // such, the following entries are solely placeholders to enable the lookup - // of lists of just one type to the BasicID of the single type. + // list of types will be canonicalized to the BasicType of the single type. + // As such, the following entries are solely placeholders to enable the + // lookup of lists of just one type to the BasicType of the single type. {TypeInfo(Tuple()), Type::none}, {TypeInfo({Type::unreachable}), Type::unreachable}, {TypeInfo({Type::i32}), Type::i32}, |