From: Chris Lattner Date: Tue, 19 Jun 2007 00:11:09 +0000 (+0000) Subject: add isVarArg to CCState X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aeeccfc5b240d6ac87e507188f152bb0278b6472;p=oota-llvm.git add isVarArg to CCState git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37640 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;