mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SIL] Add a new AssignOrInit instruction for init accessors.
This instruction is similar to AssignByWrapperInst, but instead of having a destination operand, the initialization is fully factored into the init function operand. Like AssignByWrapper, AssignOrInit has partial application operands of both the initializer and the setter, and DI will lower the instruction to a call based on whether the assignment is initialization or a setter call.
This commit is contained in:
committed by
Pavel Yaskevich
parent
429f1908c7
commit
ac66a06199
@@ -58,7 +58,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
|
||||
/// describe what change you made. The content of this comment isn't important;
|
||||
/// it just ensures a conflict if two people change the module format.
|
||||
/// Don't worry about adhering to the 80-column limit for this line.
|
||||
const uint16_t SWIFTMODULE_VERSION_MINOR = 788; // noimplicitcopy addr
|
||||
const uint16_t SWIFTMODULE_VERSION_MINOR = 789; // assign or init instruction
|
||||
|
||||
/// A standard hash seed used for all string hashes in a serialized module.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user