Remove redundant call to get() on smart pointer

This commit is contained in:
practicalswift
2017-02-14 16:03:17 +01:00
parent 75644d28f9
commit 8bd6d36d86

View File

@@ -702,7 +702,7 @@ static bool performCompile(std::unique_ptr<CompilerInstance> &Instance,
return true;
// Convert SIL to a lowered form suitable for IRGen.
runSILLoweringPasses(*SM.get());
runSILLoweringPasses(*SM);
// TODO: remove once the frontend understands what action it should perform
IRGenOpts.OutputKind = getOutputKind(Action);