diff options
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r-- | src/wasm/wasm-validator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp index e4a70a347..7cddf5a86 100644 --- a/src/wasm/wasm-validator.cpp +++ b/src/wasm/wasm-validator.cpp @@ -1396,8 +1396,8 @@ void FunctionValidator::validateMemBytes(uint8_t bytes, case Type::externref: case Type::anyref: case Type::eqref: - case Type::dataref: case Type::i31ref: + case Type::dataref: case Type::none: WASM_UNREACHABLE("unexpected type"); } @@ -2514,8 +2514,8 @@ void FunctionValidator::validateAlignment( case Type::externref: case Type::anyref: case Type::eqref: - case Type::dataref: case Type::i31ref: + case Type::dataref: case Type::none: WASM_UNREACHABLE("invalid type"); } |