add isVarArg to CCState

llvm-svn: 37640
This commit is contained in:
Chris Lattner 2007-06-19 00:11:09 +00:00
parent 6e631d5d4f
commit 68f9f9fa3b

View File

@ -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<CCValAssign, 16> &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;