diff options
author | James Y Knight <jyknight@google.com> | 2016-05-03 14:57:18 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2016-05-03 14:57:18 +0000 |
commit | ef31eafbd14a87ebc768377eb3dce42d4230455c (patch) | |
tree | 338522b6814c68a3b8399d196910c1cd9a77444c /llvm/lib/Target/Sparc/SparcISelLowering.cpp | |
parent | d8dfdfd26868cc351c41c8608502fd533168a862 (diff) | |
download | bcm5719-llvm-ef31eafbd14a87ebc768377eb3dce42d4230455c.tar.gz bcm5719-llvm-ef31eafbd14a87ebc768377eb3dce42d4230455c.zip |
[Sparc] Constification of TargetMachine arguments
This patch changes the TargetMachine arguments to be const. This is
required for {D19265}, and was requested to be done in a separate patch.
Patch by Jacob Hansen!
Differential Revision: http://reviews.llvm.org/D19797
llvm-svn: 268389
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp index 4988c9f4aeb..c31e7c5fb8c 100644 --- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp +++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp @@ -1448,7 +1448,7 @@ static SPCC::CondCodes FPCondCCodeToFCC(ISD::CondCode CC) { } } -SparcTargetLowering::SparcTargetLowering(TargetMachine &TM, +SparcTargetLowering::SparcTargetLowering(const TargetMachine &TM, const SparcSubtarget &STI) : TargetLowering(TM), Subtarget(&STI) { MVT PtrVT = MVT::getIntegerVT(8 * TM.getPointerSize()); |