Skip to content

Commit

Permalink
[NFC] Use an unordered map in Parents
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Sep 25, 2024
1 parent ccef354 commit a99194e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ir/parents.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct Parents {
: public ExpressionStackWalker<Inner, UnifiedExpressionVisitor<Inner>> {
void visitExpression(Expression* curr) { parentMap[curr] = getParent(); }

std::map<Expression*, Expression*> parentMap;
std::unordered_map<Expression*, Expression*> parentMap;
} inner;
};

Expand Down

0 comments on commit a99194e

Please sign in to comment.