summaryrefslogtreecommitdiff
path: root/src/ir/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/utils.h')
-rw-r--r--src/ir/utils.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/utils.h b/src/ir/utils.h
index fa3e34423..805844a71 100644
--- a/src/ir/utils.h
+++ b/src/ir/utils.h
@@ -107,11 +107,8 @@ struct ReFinalize
ReFinalize() { name = "refinalize"; }
// block finalization is O(bad) if we do each block by itself, so do it in
- // bulk, tracking break value types so we just do a linear pass
-
- // TODO: Switch to std::unordered_set once types are properly canonicalized so
- // determinism isn't an issue.
- std::unordered_map<Name, std::set<Type>> breakTypes;
+ // bulk, tracking break value types so we just do a linear pass.
+ std::unordered_map<Name, std::unordered_set<Type>> breakTypes;
#define DELEGATE(CLASS_TO_VISIT) \
void visit##CLASS_TO_VISIT(CLASS_TO_VISIT* curr);