Changes in directory llvm/include/llvm/CodeGen:
CallingConvLower.h updated: 1.4 -> 1.5 --- Log message: add isvararg tracking to CCState --- Diffs of the changes: (+3 -1) CallingConvLower.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/CallingConvLower.h diff -u llvm/include/llvm/CodeGen/CallingConvLower.h:1.4 llvm/include/llvm/CodeGen/CallingConvLower.h:1.5 --- llvm/include/llvm/CodeGen/CallingConvLower.h:1.4 Wed Feb 28 01:09:40 2007 +++ llvm/include/llvm/CodeGen/CallingConvLower.h Mon Jun 18 19:10:25 2007 @@ -105,6 +105,7 @@ /// stack slots are used. It provides accessors to allocate these values. class CCState { unsigned CallingConv; + bool IsVarArg; const TargetMachine &TM; const MRegisterInfo &MRI; SmallVector<CCValAssign, 16> &Locs; @@ -112,7 +113,7 @@ unsigned StackOffset; SmallVector<uint32_t, 16> UsedRegs; public: - CCState(unsigned CC, const TargetMachine &TM, + CCState(unsigned CC, bool isVarArg, const TargetMachine &TM, SmallVector<CCValAssign, 16> &locs); void addLoc(const CCValAssign &V) { @@ -121,6 +122,7 @@ const TargetMachine &getTarget() const { return TM; } unsigned getCallingConv() const { return CallingConv; } + bool isVarArg() const { return IsVarArg; } unsigned getNextStackOffset() const { return StackOffset; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits