SILCloner: correctly map function argument types in cloneFunction

and remove the now unused `SILBasicBlock::cloneArgumentList`
This commit is contained in:
Erik Eckstein
2025-09-03 09:04:47 +02:00
parent 231042b9a8
commit c15f76f316
3 changed files with 6 additions and 22 deletions

View File

@@ -368,8 +368,6 @@ public:
const SILArgument *getArgument(unsigned i) const { return ArgumentList[i]; }
SILArgument *getArgument(unsigned i) { return ArgumentList[i]; }
void cloneArgumentList(SILBasicBlock *Other);
void moveArgumentList(SILBasicBlock *from);
/// Erase a specific argument from the arg list.