summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ir.h b/src/ir.h
index 3e220d35..997cd738 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -537,9 +537,8 @@ struct Global {
};
struct Table {
- explicit Table(string_view name) :
- name(name.to_string()),
- elem_type(Type::Anyfunc) {}
+ explicit Table(string_view name)
+ : name(name.to_string()), elem_type(Type::Funcref) {}
std::string name;
Limits elem_limits;