diff options
author | Alon Zakai <alonzakai@gmail.com> | 2019-01-02 11:14:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 11:14:08 -0800 |
commit | 18fb2c238f3b4c04e3666d8a0d34492936a6bcc0 (patch) | |
tree | a6d8baba2dd9edc00c8279f242a03a8acc40d609 /src/wasm | |
parent | 3f3fc857ff6204517281ed5caa3209cc8f02d4fc (diff) | |
download | binaryen-18fb2c238f3b4c04e3666d8a0d34492936a6bcc0.tar.gz binaryen-18fb2c238f3b4c04e3666d8a0d34492936a6bcc0.tar.bz2 binaryen-18fb2c238f3b4c04e3666d8a0d34492936a6bcc0.zip |
Minor code style cleanups (#1844)
Diffstat (limited to 'src/wasm')
-rw-r--r-- | src/wasm/wasm-type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index b7ed12947..f9371ffab 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -36,12 +36,12 @@ const char* printType(Type type) { unsigned getTypeSize(Type type) { switch (type) { - case Type::none: abort(); case Type::i32: return 4; case Type::i64: return 8; case Type::f32: return 4; case Type::f64: return 8; case Type::v128: return 16; + case Type::none: case Type::unreachable: WASM_UNREACHABLE(); } WASM_UNREACHABLE(); |