[FrontendTool] Fix a compiler error that I missed due to rebasing the pull-request

This commit is contained in:
Argyrios Kyrtzidis
2017-05-03 17:37:07 -07:00
parent b1fe90cc46
commit cda147f657

View File

@@ -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) {