summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-05-07 18:52:57 -0700
committerGitHub <noreply@github.com>2019-05-07 18:52:57 -0700
commit14a286971d203e3caf6f49089fe6ddc16024861f (patch)
treee20a5659bfd95dacc3f2d779f759173da065d607 /src/wasm-builder.h
parentda716eb233f9fe7cefc61d9d1ce54f8b8c9d9126 (diff)
downloadbinaryen-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/wasm-builder.h')
-rw-r--r--src/wasm-builder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 9024ea6b1..505074fd9 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -659,6 +659,9 @@ public:
value = Literal(bytes.data());
break;
}
+ case except_ref:
+ // TODO Implement and return nullref
+ assert(false && "except_ref not implemented yet");
case none:
return ExpressionManipulator::nop(curr);
case unreachable: