diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 4a2311d4..49c1ce60 100644 --- a/src/common.h +++ b/src/common.h @@ -205,6 +205,7 @@ enum class Type : int32_t { F64 = -0x04, // 0x7c V128 = -0x05, // 0x7b Anyfunc = -0x10, // 0x70 + Anyref = -0x11, // 0x6f ExceptRef = -0x18, // 0x68 Func = -0x20, // 0x60 Void = -0x40, // 0x40 @@ -359,6 +360,8 @@ static WABT_INLINE const char* GetTypeName(Type type) { return "void"; case Type::Any: return "any"; + case Type::Anyref: + return "anyref"; default: return "<type index>"; } |