summaryrefslogtreecommitdiff
path: root/src/interp/interp-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/interp-inl.h')
-rw-r--r--src/interp/interp-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/interp-inl.h b/src/interp/interp-inl.h
index 8699438d..9e9af7f1 100644
--- a/src/interp/interp-inl.h
+++ b/src/interp/interp-inl.h
@@ -337,7 +337,7 @@ bool operator!=(const RefPtr<U>& lhs, const RefPtr<V>& rhs) {
}
//// ValueType ////
-inline bool IsReference(ValueType type) { return IsRefType(type); }
+inline bool IsReference(ValueType type) { return type.IsRef(); }
template <> inline bool HasType<s32>(ValueType type) { return type == ValueType::I32; }
template <> inline bool HasType<u32>(ValueType type) { return type == ValueType::I32; }
template <> inline bool HasType<s64>(ValueType type) { return type == ValueType::I64; }