Add unit tagging to SymbolicConstantId (#6262)

This commit is contained in:
David Blaikie
2025-10-22 23:39:00 +00:00
committed by GitHub
parent 79541ee50c
commit b02c6a8db4
2 changed files with 468 additions and 467 deletions
File diff suppressed because it is too large Load Diff
+1
View File
@@ -121,6 +121,7 @@ class ConstantValueStore {
explicit ConstantValueStore(ConstantId default_value, const InstStore* insts)
: default_(default_value),
values_((CARBON_CHECK(insts), insts->GetIdTag())),
symbolic_constants_(insts->GetIdTag()),
insts_(insts) {}
// Returns the constant value of the requested instruction, which is default_