mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[FrontendTool] Fix a compiler error that I missed due to rebasing the pull-request
This commit is contained in:
@@ -518,7 +518,7 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
ASTContext &Context = Instance.getASTContext();
|
||||
|
||||
if (Invocation.getMigratorOptions().shouldRunMigrator()) {
|
||||
migrator::updateCodeAndEmitRemap(Instance.get(), Invocation);
|
||||
migrator::updateCodeAndEmitRemap(&Instance, Invocation);
|
||||
}
|
||||
|
||||
if (Action == FrontendOptions::REPL) {
|
||||
|
||||
Reference in New Issue
Block a user