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 | 58c99da4d89b0f6b5be6066d2888b0ddc41c8a7c (patch) | |
tree | 5c542da9d23a3dc4694327ed2c882e0e7553621f /lib/Target/ARM/ARMSubtarget.h | |
parent | 087f56e9278f310d43f561426236378e3efd786f (diff) | |
download | llvm-58c99da4d89b0f6b5be6066d2888b0ddc41c8a7c.tar.gz llvm-58c99da4d89b0f6b5be6066d2888b0ddc41c8a7c.tar.bz2 llvm-58c99da4d89b0f6b5be6066d2888b0ddc41c8a7c.tar.xz |
Move ARMJITInfo off of the TargetMachine and down onto the subtarget.
This required untangling a mess of headers that included around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 7da80ec0d4..ae62a6f876 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -14,6 +14,7 @@ #ifndef ARMSUBTARGET_H #define ARMSUBTARGET_H +#include "ARMJITInfo.h" #include "ARMSelectionDAGInfo.h" #include "MCTargetDesc/ARMMCTargetDesc.h" #include "llvm/ADT/Triple.h" @@ -256,10 +257,12 @@ protected: const DataLayout *getDataLayout() const { return &DL; } const ARMSelectionDAGInfo *getSelectionDAGInfo() const { return &TSInfo; } + ARMJITInfo *getJITInfo() { return &JITInfo; } private: const DataLayout DL; ARMSelectionDAGInfo TSInfo; + ARMJITInfo JITInfo; void initializeEnvironment(); void resetSubtargetFeatures(StringRef CPU, StringRef FS); |