From 68f9f9fa3bdb423aa564346b217df7bebcef3c6e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 19 Jun 2007 00:11:09 +0000 Subject: [PATCH] add isVarArg to CCState llvm-svn: 37640 --- lib/CodeGen/SelectionDAG/CallingConvLower.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp b/lib/CodeGen/SelectionDAG/CallingConvLower.cpp index 08a6ade6248..defbe3416e7 100644 --- a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp +++ b/lib/CodeGen/SelectionDAG/CallingConvLower.cpp @@ -18,9 +18,10 @@ #include "llvm/Target/TargetMachine.h" using namespace llvm; -CCState::CCState(unsigned CC, const TargetMachine &tm, +CCState::CCState(unsigned CC, bool isVarArg, const TargetMachine &tm, SmallVector &locs) - : CallingConv(CC), TM(tm), MRI(*TM.getRegisterInfo()), Locs(locs) { + : CallingConv(CC), IsVarArg(isVarArg), TM(tm), + MRI(*TM.getRegisterInfo()), Locs(locs) { // No stack is used. StackOffset = 0;