mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Minor refactoring of CC Lowering interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,9 +14,12 @@
|
||||
|
||||
#include "llvm/CodeGen/CallingConvLower.h"
|
||||
#include "llvm/Target/MRegisterInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
using namespace llvm;
|
||||
|
||||
CCState::CCState(const MRegisterInfo &mri) : MRI(mri) {
|
||||
CCState::CCState(unsigned CC, const TargetMachine &tm,
|
||||
SmallVector<CCValAssign, 16> &locs)
|
||||
: CallingConv(CC), TM(tm), MRI(*TM.getRegisterInfo()), Locs(locs) {
|
||||
// No stack is used.
|
||||
StackOffset = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user