Slava Pestov
472787bab7
SIL: isNonThrowing parameter of SILBuilder::create{Begin,}Apply() defaults to false
...
Also remove the overload of createApply() that does not take a SubstitutionMap.
It accomplishes nothing except creating ambiguity.
2019-04-25 22:27:38 -04:00
Doug Gregor
03f674018b
Eliminate a use-after-free in assign_by_delegate lowering.
...
ASan is magic. Thank you, ASan.
2019-04-23 11:32:28 -07:00
Erik Eckstein
e1674232c7
RawSILInstLowering: lower assign_by_delegate
2019-04-23 11:32:28 -07:00
Slava Pestov
8915f96e3e
SIL: Replace SILType::isTrivial(SILModule) with isTrivial(SILFunction)
2019-03-12 01:16:04 -04:00
Azoy
5af2663c57
Textualize assign init kind
...
Rename [assign] to [reassign]
fix some tests
AssignOwnershipQualifier
formatting
moar formatting
2019-02-12 20:16:25 -06:00
Azoy
fcd6a8adf3
Lower Assign to store [assign] & Remove MandatoryOptUtils
...
update debug_type
2019-02-12 18:10:17 -06:00
Azoy
397b96c917
[SILOptimizer] Don't lower AssignInst in DI
2019-02-12 18:10:17 -06:00
Michael Gottesman
2872389826
[definite-init] Split raw SIL instruction lowering out of DI into its own pass run after DI.
...
I am doing this so I can start writing DI tests without this lowering occuring.
There never was a real reason for this code to be in DI beyond convenience. Now
it just makes writing tests more difficult. To prevent any test delta, I changed
all current DI tests to run this pass after DI.
2018-05-22 18:18:22 -07:00