summaryrefslogtreecommitdiff
path: root/src/passes/StackIR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/StackIR.cpp')
-rw-r--r--src/passes/StackIR.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/StackIR.cpp b/src/passes/StackIR.cpp
index e4aa55d68..a628468fb 100644
--- a/src/passes/StackIR.cpp
+++ b/src/passes/StackIR.cpp
@@ -88,7 +88,7 @@ private:
// We can remove this.
removeAt(i);
}
- } else if (inst->type == unreachable) {
+ } else if (inst->type == Type::unreachable) {
inUnreachableCode = true;
}
}
@@ -221,7 +221,7 @@ private:
// This is an actual regular value on the value stack.
values.push_back(null);
}
- } else if (inst->origin->is<LocalSet>() && inst->type == none) {
+ } else if (inst->origin->is<LocalSet>() && inst->type == Type::none) {
// This set is potentially optimizable later, add to stack.
values.push_back(i);
}