Rename type's GetInstId to GetTypeInstId, reflecting returned type (#6708)

Discussed briefly [on
Discord](https://discord.com/channels/655572317891461132/655578254970716160/1470442830118912265),
done to reduce confusion.

Assisted-by: Google Antigravity with Gemini 3 Flash
This commit is contained in:
Jon Ross-Perkins
2026-02-09 22:00:21 +00:00
committed by GitHub
parent a465018fec
commit 2c6d9c7f66
41 changed files with 99 additions and 91 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ class StepStack {
// Pushes an instruction by its TypeId.
auto PushTypeId(TypeId type_id) -> void {
PushInstId(sem_ir_->types().GetInstId(type_id));
PushInstId(sem_ir_->types().GetTypeInstId(type_id));
}
// Pushes a specific interface by the interface's entity name.