diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-15 07:49:54 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-15 07:49:54 +0000 |
commit | e14af4fe741a15b37cd1f00b67d65e63aec8feef (patch) | |
tree | 14c49c80567c04c69927c390bbb279d2dea5d58d /include/llvm/CodeGen/CallingConvLower.h | |
parent | 4c46fc6bbf206a59b1b46d8b1af43896a4675c65 (diff) |
Oops. Forgot to commit this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/CallingConvLower.h')
-rw-r--r-- | include/llvm/CodeGen/CallingConvLower.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h index a8f2d1eca9..1c9a0c179d 100644 --- a/include/llvm/CodeGen/CallingConvLower.h +++ b/include/llvm/CodeGen/CallingConvLower.h @@ -191,9 +191,13 @@ public: return Result; } - void HandleStruct(unsigned ValNo, MVT::ValueType ValVT, - MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo, - unsigned ArgFlags); + // HandleByVal - Allocate a stack slot large enough to pass an argument by + // value. The size and alignment information of the argument is encoded in its + // parameter attribute. + void HandleByVal(unsigned ValNo, MVT::ValueType ValVT, + MVT::ValueType LocVT, CCValAssign::LocInfo LocInfo, + int MinSize, int MinAlign, unsigned ArgFlags); + private: /// MarkAllocated - Mark a register and all of its aliases as allocated. void MarkAllocated(unsigned Reg); |