summaryrefslogtreecommitdiff
path: root/src/binary-writer-spec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-writer-spec.cc')
-rw-r--r--src/binary-writer-spec.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binary-writer-spec.cc b/src/binary-writer-spec.cc
index 3cb6674d..edcf0ba5 100644
--- a/src/binary-writer-spec.cc
+++ b/src/binary-writer-spec.cc
@@ -256,6 +256,14 @@ void BinaryWriterSpec::WriteConst(const Const& const_) {
break;
}
+ case Type::ExnRef: {
+ WriteString("exnref");
+ WriteSeparator();
+ WriteKey("value");
+ WriteRefBits(const_.ref_bits());
+ break;
+ }
+
case Type::V128: {
WriteString("v128");
WriteSeparator();