summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/CallingConvLower.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-06-19 00:11:09 +0000
committerChris Lattner <sabre@nondot.org>2007-06-19 00:11:09 +0000
commitaeeccfc5b240d6ac87e507188f152bb0278b6472 (patch)
treeb9f16cceeccf0ad4e33f007b44040686acc92e76 /lib/CodeGen/SelectionDAG/CallingConvLower.cpp
parentf9521355c4cb7414ac00ab7244a6227a958a483e (diff)
downloadexternal_llvm-aeeccfc5b240d6ac87e507188f152bb0278b6472.zip
external_llvm-aeeccfc5b240d6ac87e507188f152bb0278b6472.tar.gz
external_llvm-aeeccfc5b240d6ac87e507188f152bb0278b6472.tar.bz2
add isVarArg to CCState
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/CallingConvLower.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/CallingConvLower.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp b/lib/CodeGen/SelectionDAG/CallingConvLower.cpp
index 08a6ade..defbe34 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<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;