summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit26be02febfaf6728bfc5418e6f8b77cccf7a20d6 (patch)
treeba0cbcc281653971fc9ab888e2a0f7258cf8bd2d /llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp
parentf401b2b4c38093025e0203289bc0cd3cba51abd1 (diff)
downloadbcm5719-llvm-26be02febfaf6728bfc5418e6f8b77cccf7a20d6.tar.gz
bcm5719-llvm-26be02febfaf6728bfc5418e6f8b77cccf7a20d6.zip
add isVarArg to CCState
llvm-svn: 37640
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp b/llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp
index 08a6ade6248..defbe3416e7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/CallingConvLower.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud