mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
add isVarArg to CCState
llvm-svn: 37640
This commit is contained in:
parent
6e631d5d4f
commit
68f9f9fa3b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user