mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
f9521355c4
commit
aeeccfc5b2
@ -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