Skip to content

Commit a963d0a

Browse files
committed
[Async CC] Added TODO for codesize improvement.
1 parent c2469fc commit a963d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,6 +1747,8 @@ llvm::Value *irgen::getDynamicAsyncContextSize(IRGenFunction &IGF,
17471747
AsyncContextLayout layout,
17481748
CanSILFunctionType functionType,
17491749
llvm::Value *thickContext) {
1750+
// TODO: This calculation should be extracted out into a standalone function
1751+
// emitted on-demand per-module to improve codesize.
17501752
switch (functionType->getRepresentation()) {
17511753
case SILFunctionTypeRepresentation::Thick: {
17521754
// If the called function is thick, the size of the called function's

0 commit comments

Comments
 (0)