forked from OSchip/llvm-project
Update inaccurate comment about inalloca
I meant to say it was like indirect+byval and not direct. It is not at all like direct. llvm-svn: 228191
This commit is contained in:
parent
33e64c66ac
commit
2689cecd67
|
@ -63,10 +63,10 @@ public:
|
|||
Expand,
|
||||
|
||||
/// InAlloca - Pass the argument directly using the LLVM inalloca attribute.
|
||||
/// This is similar to 'direct', except it only applies to arguments stored
|
||||
/// in memory and forbids any implicit copies. When applied to a return
|
||||
/// type, it means the value is returned indirectly via an implicit sret
|
||||
/// parameter stored in the argument struct.
|
||||
/// This is similar to indirect with byval, except it only applies to
|
||||
/// arguments stored in memory and forbids any implicit copies. When
|
||||
/// applied to a return type, it means the value is returned indirectly via
|
||||
/// an implicit sret parameter stored in the argument struct.
|
||||
InAlloca,
|
||||
KindFirst = Direct,
|
||||
KindLast = InAlloca
|
||||
|
|
Loading…
Reference in New Issue