diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-05-07 18:52:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-07 18:52:57 -0700 |
commit | 14a286971d203e3caf6f49089fe6ddc16024861f (patch) | |
tree | e20a5659bfd95dacc3f2d779f759173da065d607 /src/tools/wasm-reduce.cpp | |
parent | da716eb233f9fe7cefc61d9d1ce54f8b8c9d9126 (diff) | |
download | binaryen-14a286971d203e3caf6f49089fe6ddc16024861f.tar.gz binaryen-14a286971d203e3caf6f49089fe6ddc16024861f.tar.bz2 binaryen-14a286971d203e3caf6f49089fe6ddc16024861f.zip |
Add except_ref type (#2081)
This adds except_ref type, which is a part of the exception handling
proposal.
Diffstat (limited to 'src/tools/wasm-reduce.cpp')
-rw-r--r-- | src/tools/wasm-reduce.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp index 54a915ec0..cea415a47 100644 --- a/src/tools/wasm-reduce.cpp +++ b/src/tools/wasm-reduce.cpp @@ -592,7 +592,8 @@ struct Reducer fixed = builder->makeUnary(TruncSFloat64ToInt32, child); break; case v128: - continue; // v128 not implemented yet + case except_ref: + continue; // not implemented yet case none: case unreachable: WASM_UNREACHABLE(); @@ -613,7 +614,8 @@ struct Reducer fixed = builder->makeUnary(TruncSFloat64ToInt64, child); break; case v128: - continue; // v128 not implemented yet + case except_ref: + continue; // not implemented yet case none: case unreachable: WASM_UNREACHABLE(); @@ -634,7 +636,8 @@ struct Reducer fixed = builder->makeUnary(DemoteFloat64, child); break; case v128: - continue; // v128 not implemented yet + case except_ref: + continue; // not implemented yet case none: case unreachable: WASM_UNREACHABLE(); @@ -655,7 +658,8 @@ struct Reducer case f64: WASM_UNREACHABLE(); case v128: - continue; // v128 not implemented yet + case except_ref: + continue; // not implemented yet case none: case unreachable: WASM_UNREACHABLE(); @@ -663,7 +667,8 @@ struct Reducer break; } case v128: - continue; // v128 not implemented yet + case except_ref: + continue; // not implemented yet case none: case unreachable: WASM_UNREACHABLE(); |