SIL: add a lazy_property_getter flag to SILFunction

It is set on getter-functions for lazy properties.
This commit is contained in:
Erik Eckstein
2020-03-12 11:28:46 +01:00
parent 0be8357dcc
commit ae93e60072
15 changed files with 88 additions and 24 deletions

View File

@@ -434,7 +434,7 @@ void SILSerializer::writeSILFunction(const SILFunction &F, bool DeclOnly) {
Out, ScratchRecord, abbrCode, toStableSILLinkage(Linkage),
(unsigned)F.isTransparent(), (unsigned)F.isSerialized(),
(unsigned)F.isThunk(), (unsigned)F.isWithoutActuallyEscapingThunk(),
(unsigned)F.isGlobalInit(), (unsigned)F.getInlineStrategy(),
(unsigned)F.getSpecialPurpose(), (unsigned)F.getInlineStrategy(),
(unsigned)F.getOptimizationMode(), (unsigned)F.getEffectsKind(),
(unsigned)numSpecAttrs, (unsigned)F.hasOwnership(),
F.isAlwaysWeakImported(), LIST_VER_TUPLE_PIECES(available),