diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-09-19 23:30:42 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-09-19 23:30:42 +0000 |
| commit | b152660075ba63d0840497b4d348b7f97bb565e7 (patch) | |
| tree | 8c41f9323055b608e93214b8aece7884fc7f27b6 /llvm/lib/Target/Mips/MipsISelLowering.h | |
| parent | 1efe80109abb44856fc563881b9de4e8fae2d779 (diff) | |
| download | bcm5719-llvm-b152660075ba63d0840497b4d348b7f97bb565e7.tar.gz bcm5719-llvm-b152660075ba63d0840497b4d348b7f97bb565e7.zip | |
constify the TargetMachine being passed through the Mips subtarget
creation.
llvm-svn: 218169
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h index e921816879d..3d0512d05e9 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.h +++ b/llvm/lib/Target/Mips/MipsISelLowering.h @@ -214,10 +214,10 @@ namespace llvm { class MipsTargetLowering : public TargetLowering { bool isMicroMips; public: - explicit MipsTargetLowering(MipsTargetMachine &TM, + explicit MipsTargetLowering(const MipsTargetMachine &TM, const MipsSubtarget &STI); - static const MipsTargetLowering *create(MipsTargetMachine &TM, + static const MipsTargetLowering *create(const MipsTargetMachine &TM, const MipsSubtarget &STI); /// createFastISel - This method returns a target specific FastISel object, @@ -602,9 +602,11 @@ namespace llvm { /// Create MipsTargetLowering objects. const MipsTargetLowering * - createMips16TargetLowering(MipsTargetMachine &TM, const MipsSubtarget &STI); + createMips16TargetLowering(const MipsTargetMachine &TM, + const MipsSubtarget &STI); const MipsTargetLowering * - createMipsSETargetLowering(MipsTargetMachine &TM, const MipsSubtarget &STI); + createMipsSETargetLowering(const MipsTargetMachine &TM, + const MipsSubtarget &STI); namespace Mips { FastISel *createFastISel(FunctionLoweringInfo &funcInfo, |

