add isVarArg to CCState

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-06-19 00:11:09 +00:00
parent f9521355c4
commit aeeccfc5b2

View File

@ -18,9 +18,10 @@
#include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachine.h"
using namespace llvm; using namespace llvm;
CCState::CCState(unsigned CC, const TargetMachine &tm, CCState::CCState(unsigned CC, bool isVarArg, const TargetMachine &tm,
SmallVector<CCValAssign, 16> &locs) 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. // No stack is used.
StackOffset = 0; StackOffset = 0;