[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:
Holly Borla
2023-05-16 19:39:36 -07:00
committed by Pavel Yaskevich
parent 429f1908c7
commit ac66a06199
19 changed files with 108 additions and 2 deletions

View File

@@ -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.
///