summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSoni L. <EnderMoneyMod@gmail.com>2024-10-17 14:46:34 -0300
committerGitHub <noreply@github.com>2024-10-17 10:46:34 -0700
commit3bcb05b9b7100688ab166591b02bad1415ba7baf (patch)
tree1c77b552a33f518e63af66315bec63fc22ba8de6 /src
parent2b4e2c7664a61c94fc316a0d526913634c4ff7e6 (diff)
downloadwabt-3bcb05b9b7100688ab166591b02bad1415ba7baf.tar.gz
wabt-3bcb05b9b7100688ab166591b02bad1415ba7baf.tar.bz2
wabt-3bcb05b9b7100688ab166591b02bad1415ba7baf.zip
type.h: Introduce ExnRef (#2489)
Diffstat (limited to 'src')
-rw-r--r--src/interp/interp-util.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interp/interp-util.cc b/src/interp/interp-util.cc
index 5267f4ae..fcba2c7f 100644
--- a/src/interp/interp-util.cc
+++ b/src/interp/interp-util.cc
@@ -55,6 +55,9 @@ std::string TypedValueToString(const TypedValue& tv) {
case Type::ExternRef:
return StringPrintf("externref:%" PRIzd, tv.value.Get<Ref>().index);
+ case Type::ExnRef:
+ return StringPrintf("exnref:%" PRIzd, tv.value.Get<Ref>().index);
+
case Type::Reference:
case Type::Func:
case Type::Struct: