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