mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove redundant call to get() on smart pointer
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user