diff options
Diffstat (limited to 'src/dataflow')
-rw-r--r-- | src/dataflow/graph.h | 2 | ||||
-rw-r--r-- | src/dataflow/users.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dataflow/graph.h b/src/dataflow/graph.h index 0380adf14..6bd01d895 100644 --- a/src/dataflow/graph.h +++ b/src/dataflow/graph.h @@ -84,7 +84,7 @@ struct Graph : public UnifiedExpressionVisitor<Graph, Node*> { // When we are in unreachable code (i.e., a path that does not // need to be merged in anywhere), we set the length of this // vector to 0 to indicate that. - typedef std::vector<Node*> Locals; + using Locals = std::vector<Node*>; // The current local state in the control flow path being emitted. Locals locals; diff --git a/src/dataflow/users.h b/src/dataflow/users.h index faa41f7f9..d8bee8ac4 100644 --- a/src/dataflow/users.h +++ b/src/dataflow/users.h @@ -34,7 +34,7 @@ namespace wasm::DataFlow { // where y, z etc. are nodes that use x, that is, x is in their // values vector. class Users { - typedef std::unordered_set<DataFlow::Node*> UserSet; + using UserSet = std::unordered_set<DataFlow::Node*>; std::unordered_map<DataFlow::Node*, UserSet> users; |