summaryrefslogtreecommitdiff
path: root/src/interp/interp.h
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-05-28 11:30:38 -0700
committerGitHub <noreply@github.com>2020-05-28 11:30:38 -0700
commitbf46c08b05fc6fcc457f1657e936fab24b4dceee (patch)
treef57a19c670a3e222896c252c829d5eb5ec4db6d2 /src/interp/interp.h
parent0630dc53755678239d7609b61776b125221eefb8 (diff)
downloadwabt-bf46c08b05fc6fcc457f1657e936fab24b4dceee.tar.gz
wabt-bf46c08b05fc6fcc457f1657e936fab24b4dceee.tar.bz2
wabt-bf46c08b05fc6fcc457f1657e936fab24b4dceee.zip
Reference types changes to remove subtyping (#1407)
Main changes: * Rename `anyref` -> `externref` * Remove `nullref` * Rename `hostref` -> `externref` * `ref.null` and `ref.is_null` now have "ref kind" parameter * Add ref kind keywords: `func`, `extern`, `exn`
Diffstat (limited to 'src/interp/interp.h')
-rw-r--r--src/interp/interp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/interp.h b/src/interp/interp.h
index ec7a6f78..8ebd43df 100644
--- a/src/interp/interp.h
+++ b/src/interp/interp.h
@@ -115,6 +115,7 @@ struct InitExpr {
f64 f64_;
v128 v128_;
Index index_;
+ Type type_;
};
};
@@ -426,7 +427,6 @@ class Store {
bool IsValid(Ref) const;
bool HasValueType(Ref, ValueType) const;
- ValueType GetValueType(Ref) const;
template <typename T>
bool Is(Ref) const;