summaryrefslogtreecommitdiff
path: root/src/dataflow/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dataflow/graph.h')
-rw-r--r--src/dataflow/graph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dataflow/graph.h b/src/dataflow/graph.h
index 7f5654f8d..9a30b7576 100644
--- a/src/dataflow/graph.h
+++ b/src/dataflow/graph.h
@@ -153,7 +153,7 @@ struct Graph : public UnifiedExpressionVisitor<Graph, Node*> {
}
Node* makeZero(wasm::Type type) {
- return makeConst(LiteralUtils::makeLiteralZero(type));
+ return makeConst(Literal::makeZero(type));
}
// Add a new node to our list of owned nodes.