diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-13 23:04:46 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-13 23:04:46 +0000 |
commit | a0cdc005dde2ffdb81d10866a13e88449b091168 (patch) | |
tree | f94cdb8ea98d60cb17f71564836dd29c3c0adc4e /llvm/lib/Target/ARM/ARMMachineFunctionInfo.h | |
parent | bd810fd1528187542566bbee4e1807a9dede9bd7 (diff) | |
download | bcm5719-llvm-a0cdc005dde2ffdb81d10866a13e88449b091168.tar.gz bcm5719-llvm-a0cdc005dde2ffdb81d10866a13e88449b091168.zip |
Move ARMJITInfo off of the TargetMachine and down onto the subtarget.
This required untangling a mess of headers that included around.
llvm-svn: 210953
Diffstat (limited to 'llvm/lib/Target/ARM/ARMMachineFunctionInfo.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMMachineFunctionInfo.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h index d7ec6eba941..fe09c165353 100644 --- a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h +++ b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h @@ -130,16 +130,7 @@ public: JumpTableUId(0), PICLabelUId(0), VarArgsFrameIndex(0), HasITBlocks(false), GlobalBaseReg(0) {} - explicit ARMFunctionInfo(MachineFunction &MF) : - isThumb(MF.getTarget().getSubtarget<ARMSubtarget>().isThumb()), - hasThumb2(MF.getTarget().getSubtarget<ARMSubtarget>().hasThumb2()), - StByValParamsPadding(0), - ArgRegsSaveSize(0), HasStackFrame(false), RestoreSPFromFP(false), - LRSpilledForFarJump(false), - FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0), - GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0), - JumpTableUId(0), PICLabelUId(0), - VarArgsFrameIndex(0), HasITBlocks(false), GlobalBaseReg(0) {} + explicit ARMFunctionInfo(MachineFunction &MF); bool isThumbFunction() const { return isThumb; } bool isThumb1OnlyFunction() const { return isThumb && !hasThumb2; } |