mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Remove unnecessary performSILLinking() calls from immediate mode and REPL
This commit is contained in:
@@ -984,7 +984,7 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
static void linkAllIfNeeded(const CompilerInvocation &Invocation,
|
||||
SILModule *SM) {
|
||||
if (Invocation.getSILOptions().LinkMode == SILOptions::LinkAll)
|
||||
performSILLinking(SM, true);
|
||||
performSILLinking(SM);
|
||||
}
|
||||
|
||||
/// Perform "stable" optimizations that are invariant across compiler versions.
|
||||
|
||||
Reference in New Issue
Block a user