Change from ToImplicit to AsDesugared (#5591)

This changes `ToImplicit` to `AsDesugared`, and adds a
`GetLocIdForDesugaring` to `InstStore`.

In particular, I'm motivated by the latter, to make it clearer what the
intended call convention is.
This commit is contained in:
Jon Ross-Perkins
2025-06-03 17:55:16 +00:00
committed by GitHub
parent 6831c98d74
commit a85d292f8d
9 changed files with 45 additions and 39 deletions
+3
View File
@@ -178,6 +178,9 @@ auto LocId::Print(llvm::raw_ostream& out) const -> void {
break;
case Kind::NodeId:
out << Label << "_" << node_id();
if (is_desugared()) {
out << "_desugared";
}
break;
}
}