mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: some Cloner cleanups and improvements
* move some Cloner utilities from ContextCommon.swift directly into Cloner.swift * add an `cloneRecursively` overload which doesn't require the `customGetCloned` closure argument * some small cleanups
This commit is contained in:
@@ -1538,7 +1538,7 @@ struct BridgedCloner {
|
||||
bool isValueCloned(BridgedValue v) const;
|
||||
void recordClonedInstruction(BridgedInstruction origInst, BridgedInstruction clonedInst) const;
|
||||
void recordFoldedValue(BridgedValue orig, BridgedValue mapped) const;
|
||||
BridgedInstruction clone(BridgedInstruction inst);
|
||||
BridgedInstruction clone(BridgedInstruction inst) const;
|
||||
};
|
||||
|
||||
struct BridgedVerifier {
|
||||
|
||||
Reference in New Issue
Block a user