mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
[cmo] [aggresive] Don't attach the usableFromInline attribute
in the CMO pass in aggressive mode Changing the AST mid-pipeline is probably not a good idea. rdar://173172456
This commit is contained in:
@@ -991,6 +991,8 @@ LoadedFile *SerializedModuleLoaderBase::loadAST(
|
||||
M.setStrictMemorySafety();
|
||||
if (loadedModuleFile->deferredCodeGen())
|
||||
M.setDeferredCodeGen();
|
||||
if (loadedModuleFile->isAggressiveCMOEnabled())
|
||||
M.setAggressiveCMOEnabled();
|
||||
if (loadedModuleFile->hasCxxInteroperability()) {
|
||||
M.setHasCxxInteroperability();
|
||||
M.setCXXStdlibKind(loadedModuleFile->getCXXStdlibKind());
|
||||
|
||||
Reference in New Issue
Block a user