Swift SIL: rename parent accessors to parentX, e.g. Instruction.parentBlock

It makes it easier to read
This commit is contained in:
Erik Eckstein
2022-12-23 13:43:45 +01:00
parent 0812484a4a
commit 6c35258f83
22 changed files with 77 additions and 77 deletions

View File

@@ -93,7 +93,7 @@ struct FunctionUses {
result += "<unknown uses>\n"
}
for inst in self {
result += "@\(inst.function.name): \(inst)\n"
result += "@\(inst.parentFunction.name): \(inst)\n"
}
result += "]"