mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Revert "[ParseableInterfaces] Stop explicitly optimizing cached modules""
This re-disables explicit optimization of cached modules. rdar://46358840
This commit is contained in:
@@ -537,10 +537,6 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
// Optimize emitted modules. This has to happen after we parse arguments,
|
||||
// because parseSILOpts would override the current optimization mode.
|
||||
subInvocation.getSILOptions().OptMode = OptimizationMode::ForSpeed;
|
||||
|
||||
// Build the .swiftmodule; this is a _very_ abridged version of the logic
|
||||
// in performCompile in libFrontendTool, specialized, to just the one
|
||||
// module-serialization task we're trying to do here.
|
||||
|
||||
Reference in New Issue
Block a user