mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #76448 from eeckstein/fix-static-init-cloner
StaticInitCloner: skip begin_access instructions when cloning the initial value of a global
This commit is contained in:
@@ -186,6 +186,7 @@ struct BridgedCloner {
|
||||
SWIFT_IMPORT_UNSAFE BridgedValue getClonedValue(BridgedValue v);
|
||||
bool isValueCloned(BridgedValue v) const;
|
||||
void clone(BridgedInstruction inst);
|
||||
void recordFoldedValue(BridgedValue origValue, BridgedValue mappedValue);
|
||||
};
|
||||
|
||||
struct BridgedSpecializationCloner {
|
||||
|
||||
Reference in New Issue
Block a user