Skip to content

Commit 9331f13

Browse files
authored
Merge pull request #75247 from drexin/wip-131352085-6.0
[6.0] Revert "[IRGen] Fetch the correct IGM for synthesized files"
2 parents ce7468f + f86d6ca commit 9331f13

File tree

2 files changed

+1
-62
lines changed

2 files changed

+1
-62
lines changed

lib/IRGen/IRGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ static void performParallelIRGeneration(IRGenDescriptor desc) {
14311431
}
14321432

14331433
if (auto *synthSFU = File->getSynthesizedFile()) {
1434-
CurrentIGMPtr IGM = irgen.getGenModule(&synthSFU->getFileUnit());
1434+
CurrentIGMPtr IGM = irgen.getGenModule(synthSFU);
14351435
IGM->emitSynthesizedFileUnit(*synthSFU);
14361436
}
14371437
} else {

test/Macros/extension_emission.swift

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)