summaryrefslogtreecommitdiff
path: root/src/ir.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.cc')
-rw-r--r--src/ir.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cc b/src/ir.cc
index e07594f4..e521706e 100644
--- a/src/ir.cc
+++ b/src/ir.cc
@@ -641,7 +641,7 @@ void Var::Destroy() {
uint8_t ElemSegment::GetFlags(const Module* module) const {
uint8_t flags = 0;
- bool all_ref_func = elem_type == Type::Funcref;
+ bool all_ref_func = elem_type == Type::FuncRef;
switch (kind) {
case SegmentKind::Active: {