summaryrefslogtreecommitdiff
path: root/src/interp/interp-util.cc
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-03-23 18:54:14 -0700
committerGitHub <noreply@github.com>2020-03-23 18:54:14 -0700
commit7898e57f28c89565b99e894e764e058346e28fbe (patch)
tree91d72a1bcef76ecb83f3f550710bee8f9152b8ce /src/interp/interp-util.cc
parentdc396c9d57d59c33c99f5f6c6c1b8f67de086dc8 (diff)
downloadwabt-7898e57f28c89565b99e894e764e058346e28fbe.tar.gz
wabt-7898e57f28c89565b99e894e764e058346e28fbe.tar.bz2
wabt-7898e57f28c89565b99e894e764e058346e28fbe.zip
Parse ArrayTypes (#1364)
The following formats are supported: * (type (array i32)) * (type (array (field i32))) * (type (array (field (mut i32)))) This PR adds support for reading/writing binary and text, but no interpreter support yet.
Diffstat (limited to 'src/interp/interp-util.cc')
-rw-r--r--src/interp/interp-util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp/interp-util.cc b/src/interp/interp-util.cc
index 9a9d9b18..5c746ec4 100644
--- a/src/interp/interp-util.cc
+++ b/src/interp/interp-util.cc
@@ -60,6 +60,7 @@ std::string TypedValueToString(const TypedValue& tv) {
case Type::Func:
case Type::Struct:
+ case Type::Array:
case Type::Void:
case Type::Any:
case Type::I8: