Skip to content

Commit 4cfadfa

Browse files
committed
[NFC] Documented IRGenFunction::IndirectReturn.
1 parent 8857deb commit 4cfadfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ class IRGenSILFunction :
406406
llvm::SmallVector<llvm::BasicBlock *, 8> FailBBs;
407407

408408
SILFunction *CurSILFn;
409+
// If valid, the address by means of which a return--which is direct in
410+
// SIL--is passed indirectly in IR. Such indirection is necessary when the
411+
// value which would be returned directly cannot fit into registers.
409412
Address IndirectReturn;
410413

411414
/// The unique block that calls @llvm.coro.end.

0 commit comments

Comments
 (0)