mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL: Share TypeConverter between SILModules in batch mode
This commit is contained in:
@@ -592,7 +592,8 @@ public:
|
||||
|
||||
SILOptions &SILOpts = subInvocation.getSILOptions();
|
||||
auto Mod = SubInstance.getMainModule();
|
||||
auto SILMod = performSILGeneration(Mod, SILOpts);
|
||||
auto &TC = SubInstance.getSILTypes();
|
||||
auto SILMod = performSILGeneration(Mod, TC, SILOpts);
|
||||
if (!SILMod) {
|
||||
LLVM_DEBUG(llvm::dbgs() << "SILGen did not produce a module\n");
|
||||
SubError = true;
|
||||
|
||||
Reference in New Issue
Block a user