mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Add unit tagging to SymbolicConstantId (#6262)
This commit is contained in:
+467
-467
File diff suppressed because it is too large
Load Diff
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user