summaryrefslogtreecommitdiff
path: root/src/ir/ordering.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/ordering.h')
-rw-r--r--src/ir/ordering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/ordering.h b/src/ir/ordering.h
index 8e178dd35..55163759c 100644
--- a/src/ir/ordering.h
+++ b/src/ir/ordering.h
@@ -43,7 +43,7 @@ Expression* getResultOfFirst(Expression* first,
Builder builder(*wasm);
- if (EffectAnalyzer::canReorder(passOptions, wasm->features, first, second)) {
+ if (EffectAnalyzer::canReorder(passOptions, *wasm, first, second)) {
return builder.makeSequence(second, first);
}