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;