diff options
author | walkingeyerobot <mitch@thefoley.net> | 2021-02-23 17:11:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 14:11:49 -0800 |
commit | c127eccf753ab86a4d5deecbd0f3fa78a83e42ad (patch) | |
tree | 0ea15f58c3d3fc23a3dd536430966c7f99693dc5 /src/shell-interface.h | |
parent | 3f5eca2423450389c3444817c21aa0d24f512528 (diff) | |
download | binaryen-c127eccf753ab86a4d5deecbd0f3fa78a83e42ad.tar.gz binaryen-c127eccf753ab86a4d5deecbd0f3fa78a83e42ad.tar.bz2 binaryen-c127eccf753ab86a4d5deecbd0f3fa78a83e42ad.zip |
Cleanup fallthrough warnings when building without asserts (#3598)
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r-- | src/shell-interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h index 3c7f1832a..1cb8768cf 100644 --- a/src/shell-interface.h +++ b/src/shell-interface.h @@ -25,6 +25,7 @@ #include "ir/module-utils.h" #include "shared-constants.h" #include "support/name.h" +#include "support/utilities.h" #include "wasm-interpreter.h" #include "wasm.h" @@ -119,7 +120,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface { globals[import->name] = {Literal(double(666.6))}; break; case Type::v128: - assert(false && "v128 not implemented yet"); + WASM_UNREACHABLE("v128 not implemented yet"); case Type::funcref: case Type::externref: case Type::anyref: |