Skip to content

Commit 14df7a1

Browse files
authored
Merge pull request #75246 from drexin/wip-131352085
Revert "[IRGen] Fetch the correct IGM for synthesized files"
2 parents b8dc0f1 + a401d15 commit 14df7a1

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
@@ -1445,7 +1445,7 @@ static void performParallelIRGeneration(IRGenDescriptor desc) {
14451445
}
14461446

14471447
if (auto *synthSFU = File->getSynthesizedFile()) {
1448-
CurrentIGMPtr IGM = irgen.getGenModule(&synthSFU->getFileUnit());
1448+
CurrentIGMPtr IGM = irgen.getGenModule(synthSFU);
14491449
IGM->emitSynthesizedFileUnit(*synthSFU);
14501450
}
14511451
}

test/Macros/extension_emission.swift

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

0 commit comments

Comments
 (0)