mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Prototype for coalescing equivalent specifics of the same generic. (#5314)
This is a working version for coalescing equivalent specifics of the same generic, with *many* things to add and improve.
This commit is contained in:
@@ -288,6 +288,7 @@ auto HandleInst(FunctionContext& context, SemIR::InstId inst_id,
|
||||
SemIR::VarStorage /* inst */) -> void {
|
||||
auto* type = context.GetType(SemIR::GetTypeOfInstInSpecific(
|
||||
context.sem_ir(), context.specific_id(), inst_id));
|
||||
context.AddTypeToCurrentFingerprint(type);
|
||||
|
||||
// Position the first alloca right before the start of the executable code in
|
||||
// the function.
|
||||
|
||||
Reference in New Issue
Block a user